-
Notifications
You must be signed in to change notification settings - Fork 192
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
Disable mouse click out off popup area #185
Comments
I don't understand your use case. What's the problem with closing the popup? |
I do not want user to be able to close popup if security system is armed, otherwise he has access to the rest of HA and can disable security system by removing card or executing disable security automation. I want popup to be closed only if security is not armed or correct pin is entered which is the same. I'm controlling HA through tablet on the wall. |
That's not how security systems in HA work. They might not be controllable via the card, but they're still there.
They can only execute automations if you add them to your UI.
Make sure the user that the tablet is signed into isn't admin. |
How to disable mouse click outside off popup? I'm sure it is easy to do. There is still option to show or hide close button. I do not understant if there is option to show or hide close button why popup can be closed by simply clicking outside off it? |
I do really not get what you're trying to say. Could you restate more concisely? |
|
Oh i think that behavior is not related to browser_mod but HA, browser_mod is just calls standard HA behavior (from looking at your code...) |
Did you even read #185 (comment)? |
must be a way to do this.. a modal popup like in bootstrap seems that HA did once have a way (was a bug I think) must be something with would be good to have browser_mod integrate a modal type that has to have a button in the popup or behind code able to close it |
Closed because of Browser Mod 2.0 release. |
Would be good to add disable mouse click outside off popup area. I have integrated alarm_panel into popup - works great! but the problem is I want for this card to disable mouse clicks outside of popup area till correct pin is entered or alarm is still armed.
The text was updated successfully, but these errors were encountered: