-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Dropdown flickering cause opacity set to 0 when filtering #1298
Comments
Same here with angular 1.4.7 and ui-select 0.13.2 |
this fixed it for me as well |
Linking similar issue #1314 @aaronroberson Can you please have a look at this solution and commit the change to this library. |
@shyamal890 Can you direct me to a PR that I can review and accept? |
@aaronroberson look at my pull requests #1371 I already enhanced it with more bug fixes |
Any chance you can remove the updates to the dist files and optionally On Mon, Feb 8, 2016 at 11:21 PM Menny Rachmanny (onemenny) <
|
Sure, I'll do it later on today. |
angular-ui#1298) remove opacity change in dist fix lost focus (on backspace or adding new tag) when append-to-body is used fixing bug - when typing a letter that exists in one of the items in the ddl and then deleting it causes the (tag new item) to persists fix bug: when using closeOnSelect with tagging - hitting the enter key sets the new tag but keeps the search input value tagging: --making sure no empty elements gets in on paste operation --fix dupes search added isNewTagDuplication optional user method to check if new tag (when using tagging where each tag is an object) already exists in the list adding safety check that the control is still open cause _ensureHighlightVisible is called using a timeout adding public to gitignore ignoring public folder fix tagging: when using 'tagging' (add tags on the fly) with refreshDelay, the keyup event fires before or after the 'refresh' (attr) method. added a fix to implement the refresh-delay for the keyup event as well making sure new tag (tag added on the fly) is removed when already exists in the list of tags fix bug when filtering reverting back list folder (before fork state)
* 'master' of https://github.com/onemenny/ui-select: fix bug when filtering making sure new tag (tag added on the fly) is removed when already exists in the list of tags fix tagging: when using 'tagging' (add tags on the fly) with refreshDelay, the keyup event fires before or after the 'refresh' (attr) method. added a fix to implement the refresh-delay for the keyup event as well ignoring public folder adding public to gitignore adding safety check that the control is still open cause _ensureHighlightVisible is called using a timeout added isNewTagDuplication optional user method to check if new tag (when using tagging where each tag is an object) already exists in the list tagging: --making sure no empty elements gets in on paste operation --fix dupes search fix bug: when using closeOnSelect with tagging - hitting the enter key sets the new tag but keeps the search input value fixing bug - when typing a letter that exists in one of the items in the ddl and then deleting it causes the (tag new item) to persists fix lost focus (on backspace or adding new tag) when append-to-body is used test remove opacity change in dist disable opacity set to zero cause of flickering when typing in ddl see (angular-ui#1298)
@aaronroberson ok, I hope I got it right. everything is squashed and dist is reset.
|
I am going with the following hack for now. // Hide the dropdown so there is no flicker until $timeout is done executing.
if (dropdown[0].clientHeight == 0) {
dropdown[0].style.opacity = 0;
} |
Please see: http://plnkr.co/edit/erN0pTgEVxBrfJF4p9U7?p=preview
Use the select2 theme and type 'a' and then 'd' you will see that on each letter you type the drop filckers.
It appears that this is cause by line 1091
opacity should not change.
The text was updated successfully, but these errors were encountered: