3 ms·
> Modal sometimes also works as a peek view of a resource. That's what thumbnails and stubs are for. > In fact, you can make a link open modal with left click
by usrbinbash 3y ago
> Modal sometimes also works as a peek view of a resource.
That's what thumbnails and stubs are for.
> In fact, you can make a link open modal with left click but open in new tab with middle click. I think it is the most balanced way in my opinion.
Cool. How do I "middle click" on my phone? Left click is "open resource" by default. If a webapp doesn't have a damn good reason to overwrite the browsers default behavior, it shouldn't.
And "we thought it would make the design really pop", is not one of those reasons.
- mmis1000 3y ago> Cool. How do I "middle click" on my phone? Try long press and open in new tab. Besides, open in modal don't even mean the url won't change. Fb, reddit both open in popup AND change the url. Copy the url to other browser would just work as intended. It is already a resolved problem in my opinion.
- usrbinbash 3y ago> but at least this part of it is trivially easy to implement. It was a resolved problem before that, by letting the browser do what the browser is good at, instead of implementing new UI paradigms on top of it. > Besides, open in modal don't even mean the url won't change. Fb, reddit both open in popup AND change the url. So I add more code, and thus more complexity to websites, in order for the browser to behave in the way it would have already behaved in the first place, had I not thrown the modal in there, and instead let it work as intended.
- mmis1000 3y agoModern social websites uses infinite scroll, and infinite scroll don't really work with browser's back navigation button. A direct navigation means you lost your read position completely. Hence nobody ever navigate directly.
- usrbinbash 3y ago> Modern social websites uses infinite scroll, and infinite scroll don't really work with browser's back navigation button Yes, and the same can happen with any number of other things, like a keybind that scrolls back, or a link in the feed the user accidentially clicks. Which is part of the reason why infinite scroll falls under the same category as modals as far as I am concerned. There is a reason why pages with lots of entries are paginated.