Re:Interactive tutorial building polished UI in JavaScript
by zfxfr on Tuesday September 19, 2023 @05:34PM
(#37577090)
IMHO it seems to me overly complicated. Also it doesn't work on mobile / tablet Android. you can display the menu but once you release the button it dissapear
[ Parent
| on HN ]
Re:Interactive tutorial building polished UI in JavaScript
by all2 on Tuesday September 19, 2023 @05:37PM
(#37577136)
> you can display the menu but once you release the button it dissapear
If you look at the inspiration from twitter (linked at the top of the post) you'll see that is by design.
Re:Interactive tutorial building polished UI in JavaScript
by croes on Tuesday September 19, 2023 @07:15PM
(#37578391)
For me it doesn't work on Chrome android.
As soon as I want to select something and move my finger slightly, the menu disappears, although I am still with my finger on the button
Re:Interactive tutorial building polished UI in JavaScript
by trafnar on Wednesday September 20, 2023 @03:30PM
(#37588900)
I think I fixed the Android issues, can you give it another try?
Re:Interactive tutorial building polished UI in JavaScript
by all2 on Wednesday September 20, 2023 @06:30PM
(#37591016)
Can confirm, it works well in Brave on Android. You do have to tap to initialize the line -- and then tap on the line and drag -- in early examples, but the completed example works well.
Re:Interactive tutorial building polished UI in JavaScript
by trafnar on Tuesday September 19, 2023 @08:07PM
(#37578807)
Ah sorry, I don't have any Android devices so I haven't tested it on that platform!
Re:Interactive tutorial building polished UI in JavaScript
by andrepd on Wednesday September 20, 2023 @12:43AM
(#37580455)
As a tangent, it's sad that that mentality is often used when designing actual systems for end users! (not relevant here because this is just a fun project)
Re:Interactive tutorial building polished UI in JavaScript
by trafnar on Wednesday September 20, 2023 @01:26AM
(#37580668)
Thanks for understanding!
Re:Interactive tutorial building polished UI in JavaScript
by trafnar on Tuesday September 19, 2023 @08:13PM
(#37578849)
You can watch a video version of it here: https://www.youtube.com/watch?v=1VgrdLfDozo