zotero / zoterobib

ZoteroBib is a free online bibliography generator from the makers of Zotero
https://zbib.org
Other
68 stars 19 forks source link

Hide notifications when clicking outside of them #241

Open dstillman opened 6 years ago

dstillman commented 6 years ago

I still don't think we've gotten notifications quite right. Having them auto-hide is sort of unsettling and not very accessible, but having to click the X or perform another action to close them is annoying. Rather than just closing them on another action, what about closing them on any click on the page outside?

flachware commented 6 years ago

i think that’s worth a try.

flachware commented 6 years ago

I just realized that we do not auto-hide the Item Deleted notifications anymore, do we do that on purpose for accessibility reasons?

dstillman commented 6 years ago

do we do that on purpose for accessibility reasons?

Yes, that's right.

flachware commented 6 years ago

Well in that case I’m all the more for trying the hide-on-any-click approach.

tnajdek commented 3 years ago

I've tried it and it doesn't feel right to me, I much prefer the way it works now i.e. explicit hide or significant action hides notifications. Are we sure we want to change it? Here is a branch where it clears on any click outside of a message: 241-click-anywhere-to-clear-messages