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

be able to close a details window by clicking outside of the window #850

Open
3 tasks done
spongebyte opened this issue Nov 11, 2024 · 2 comments
Open
3 tasks done

Comments

@spongebyte
Copy link

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.
  • I will participate in further discussion about this feature and can test it (if requested) once it's done.

Proposal

I have a type: custom:scheduler-card on my dashboard, with a few scheduler entries. If I click on one, it will open a window where I can adjust the schedule.
In order to close that window, I need to click the X at the top-left. It would be great to just be able to click anywhere outside of the window to close the scheduler window, just like with entities or seemingly all other clickable items.
Many thanks for the great work!

Additional info

.

@nielsfaber
Copy link
Owner

I deliberately blocked this from happening.
Why? Because I personally experienced that when creating a new schedule, a misclick could get all settings to get lost.
What is the problem with clicking the X button?

@spongebyte
Copy link
Author

Thanks for your response.
I understand why you made it this way. It's fine as is.
If feasible, allowing click-outside-to-leave if no change has been made, and disallowing if discard/save is required, could be more ergonomic while still addressing your initial issue?

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

2 participants