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

Typeahead within modal closes when scrollbar is clicked #2588

Closed
ctrl-brk opened this issue Sep 6, 2017 · 3 comments
Closed

Typeahead within modal closes when scrollbar is clicked #2588

ctrl-brk opened this issue Sep 6, 2017 · 3 comments

Comments

@ctrl-brk
Copy link

ctrl-brk commented Sep 6, 2017

Here's a plunker:
https://plnkr.co/edit/r0xqdcLOmGzfEYKc7H8r

Don't click "open modal" button just yet.
Type something (ex: letter a) in the input box, make your browser window small enough so you have a scrollbar on the "run" window. Play with scrollbar - everything works as expected.

Now open the modal window and try the same within it (there's another typeahead control). As soon as you touch the scrollbar control closes (receives blur event)

@ctrl-brk ctrl-brk changed the title Typeahead within modal closes when scrollbar of is clicked Typeahead within modal closes when scrollbar is clicked Sep 7, 2017
@valorkin
Copy link
Member

valorkin commented Sep 7, 2017

interesting, how critical is this?

@ctrl-brk
Copy link
Author

ctrl-brk commented Sep 7, 2017

My users require this to be fixed but it can wait for a week or two.
It's interesting why this happens. I actually use my own kind if typeahead, not yours, but the behavior is exactly the same. Blur event received when you click pretty much any scrollbar on the screen.

@ctrl-brk
Copy link
Author

ctrl-brk commented Oct 5, 2017

Any update on this?
Thanks.

@IlyaSurmay IlyaSurmay added this to the v2.0.0 milestone Oct 5, 2017
valorkin pushed a commit that referenced this issue Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants