bib-web icon indicating copy to clipboard operation
bib-web copied to clipboard

Hide notifications when clicking outside of them

Open dstillman opened this issue 6 years ago • 5 comments

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?

dstillman avatar Jun 12 '18 02:06 dstillman

i think that’s worth a try.

flachware avatar Jun 13 '18 05:06 flachware

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

flachware avatar Jun 13 '18 05:06 flachware

do we do that on purpose for accessibility reasons?

Yes, that's right.

dstillman avatar Jun 13 '18 13:06 dstillman

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

flachware avatar Jun 14 '18 15:06 flachware

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

tnajdek avatar Aug 09 '21 14:08 tnajdek