question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MaxTagCount in Select on 'multiple' mode

See original GitHub issue

There is a problem with using MaxTagCount property in Select component with mode multiple. When I use it, class ant-select-selection-overflow-item has 0px value in height what cause that none items in select are visible. Also opacity is incorrect for me, it is chaning on 0.2.

I sent screen below: AntBlazor_Bug

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Duster96commented, Jul 28, 2021

It works correctly as I expected! 😃

0reactions
anddrzejbcommented, Jul 27, 2021

@Duster96 the preview https://preview-1776-antblazor.surge.sh has now a demo in Components => Select => Changeable maxTagCount where your use case is presented. Can you please check it and confirm it works as you expected?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Select - Ant Design
Property Description Default allowClear Show clear button false autoFocus Get focus by default false bordered Whether has border style true
Read more >
antd multiple select render issue
I have a multiple select written in antd, when only select one option, it display + 1 ... , instead of the actually...
Read more >
Select : why there's no max / min prop which I can control ...
when i use the Select Component, and use mode="Multiple" , I want to limit the length of selected items. There is no convenient...
Read more >
Multi Select Responsive maxTagCount doesn't trigger the ...
Pressing outside of the select closes the dropdown but doesn't trigger the onBlur event when only one option is selected after the select...
Read more >
Select
Select. Select component to select value from options. When To Use #. A dropdown menu for displaying choices - an elegant alternative to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found