Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(module:select): new tag item label and value fix #1121

Merged
merged 3 commits into from
Feb 14, 2021

Conversation

anddrzejb
Copy link
Member

@anddrzejb anddrzejb commented Feb 9, 2021

馃 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

馃挕 Background and solution

When Mode="tags" set, newly created SelectOptionItem was not being properly updated. Item property was only created with initial letter and no updates were done further.

Edit: I accidentally pushed to the same branch fixes for #1110, so I will leave them here as well... Menu except the fix got some extra optimization. I also noticed that accordion is not working but since @mutouzdl is doing some heavy work in that area, I will not be touching it. (moved to PR #1134)

Edit2:

  1. Commit ac85729 is fixing FireFox issue. I discovered it in select component - for multiple/tags mode, FireFox was rising "Permission denied to access property "toJSON". A number of trial-and-error led me to a property originalTarget of dom element. So I am omitting that...
  2. Commit 32cd7d4 is fixing the PrefixIcon for Select component. It wasn't playing nice with placeholder/input cursor. Also it was not shown when selected items were visible in the select box (for tags/multiple).

鈽戯笍 Self Check before Merge

鈿狅笍 Please check all items below before review. 鈿狅笍

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

@ElderJames
Copy link
Member

@anddrzejb Could you please cherry-pick the menu commit to another branch?

@anddrzejb
Copy link
Member Author

Ok, will do that.

@ElderJames ElderJames merged commit 6e29be5 into ant-design-blazor:master Feb 14, 2021
@anddrzejb anddrzejb deleted the selectNewTagFix branch February 14, 2021 12:22
ElderJames pushed a commit that referenced this pull request Apr 23, 2022
* fix(module:select): new tag item label and value fix

* fix: interop firefox "Permission Denied" fix

* fix(module:select): prefixIcon styling and positioning
ElderJames pushed a commit that referenced this pull request Apr 30, 2022
* fix(module:select): new tag item label and value fix

* fix: interop firefox "Permission Denied" fix

* fix(module:select): prefixIcon styling and positioning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants