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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ui-select 0.19.4] prevent losing container element and crashing with exception #11

Closed
wants to merge 2 commits into from

Conversation

jacek213
Copy link

@jacek213 jacek213 commented Oct 4, 2016

Prevent "Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined" when scrolling on dropdown while new search is executed and container element doesn't exist for a couple milliseconds while the options are being fetched asynchronically (using with newest ui-select 0.19.4).

…nt and crashing [ui-select 0.19.4]

Prevent "Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined" when scrolling on dropdown while new search is executed and `container` element doesn't exist for a couple milliseconds (using with newest `ui-select 0.19.4`).
 re-initialize on each handler call to prevent losing container element and crashing [ui-select 0.19.4]
@pencilcheck
Copy link

👍 Looks good in my opinion. Also solves the issue where it wasn't able to refresh at the bottom of the list.

@spajdo
Copy link

spajdo commented Oct 13, 2016

I have this error too. Please merge this request

@jacek213 jacek213 closed this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants