7 ms·
This is based on Peter Gyurov's work which he shared here a couple months ago https://news.ycombinator.com/item?id=31293727 https://news.ycombinator.com/item?id
by mjdiloreto 4y ago
This is based on Peter Gyurov's work which he shared here a couple months ago https://news.ycombinator.com/item?id=31293727 https://news.ycombinator.com/item?id=31293727.
I loved the idea and wanted to use it for my site, but I also wanted to give my reviews of the books and thought it would be fun if you could click the books to expand them.
- pvg 4y agoUI-wise, adding the big box of text seems tricky since it covers up what you're browsing, it's not entirely clear how to dismiss it while also seemingly being transparent to mouseover events on things beneath it. It's very easy to instantly end up in a state like this: https://i.imgur.com/T7uGJih.png https://i.imgur.com/T7uGJih.png
- mjdiloreto 4y agoYeah I found this limitation, didn't have quite enough time to work out all the kinks this weekend. I comment on this at the bottom of the page, I believe the mouse events go through the summary due to the 3D transformation. I'll probably have to rethink how that state is implemented (thinking fixed position, as long as the browser can smoothly transition).
- pvg 4y agoMaybe a different/better idea is to put the text box in a fixed position out of the way of the books themselves. Even without the event problem it obscures the browsing view.