Refresh button in applet does not always work

hfinn shared this problem 5 years ago
Solved

Sometimes it takes a few clicks to get the refresh button to work on an embedded applet. You can see an example here: https://learnzillion.com/le...


Screen recording of issue:http://recordit.co/0t1XG9wlbA


Also a small UI enhancement here would be having the cursor turn into a pointer when hovering over the 'Refresh' button.

Comments (6)

photo
1

Sorry we didn't reply to this sooner. Now the shared URL seems to be unavailable without login. With applets on geogebra.org we can't reproduce the slow behavior. Please let us know if you still see this problem.

photo
1

Zbynek --

This is not a slow behavior issue, this is a UI component hit-area issue. The refresh button hit-area appears to be at best a circle when it should instead be a square. For example, the attached scenario should not be possible because I clicked right outside the refresh icon line but within what I would expect to be part of the refresh button. The problem compounds when there are object nearby because they have a greater "z-index" within the canvas, receiving the click, when the refresh button should be in the forefront.

photo
1

The hit area is already square. If you want to make something a bit bigger, you can make a button with script

ggbApplet.reset()

photo
1

I think you're right: it is a square. However, the square hit area is smaller than the icon, which isn't right. Can you please fix your refresh button hit area to encapsulate the entire icon? Thanks.

photo
1

Thanks, we'll improve that for v548

photo
1

Thanks, Michael!

photo
© 2022 International GeoGebra Institute