News for hackers. Stuff that matters.
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.