Overlaypanel need a double click on the body to close it, if the event that call show() is not a click event #2380
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.
http://plnkr.co/edit/rFg3asM7Cqx1s1UaXeBt
Current behavior
You need to double click on the body if you want to close an overlay opened after a even other than a click
Expected behavior
We should be able to hide the Overlay independently of the event that opened it
Minimal reproduction of the problem with instructions
See the plunkr few lines of code are enough to reproduce it.
What is the motivation / use case for changing the behavior?
I want to display the overlay panel when an user type something in a
<input>
for examplePlease tell us about your environment:
MacOSX, Webstorm, yarn, nodejs
2.4.10
2.0.4
all
Language: [all | TypeScript X.X | ES6/7 | ES5]
Typescript
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: