After upgrading my Web project to 2024R2.1, I’m noticing something odd when using on mobile or tablet. It appears the bug is that if a use clicks a WebButton, the button shows the pressed state (possibly the state that a Mouse user would see when cursor hover?). But if the button is updated in code, that highlighted/pressed state remains.
I see this only on mobile ; desktop browsers work the same as ever.
I have not dug into this yet to diagnose, but is anyone seeing this?
Yes and I think is related with the focus/accessibility on mobiles.
I did a test and I think the focus ring should always show if a button is clicked but if I click the page then the button again, then the focus ring is no longer showing.
On mobile, for example, you don’t see a button Tooltip by hovering the finger over a button and only shows if you click the button (and keeps showing the Tooltip). If the button will not keep the ‘pressed state’ then the Tooltip will never show.
As I don’t use mobile to access Xojo Web apps, I don’t know if this is new for 2024r2.1. Do you think/tested this is new?
This behavior is definitely new “to me” but I can’t say for sure when it started up - sometime between 2019 and 2024. I’ll do some testing and try to narrow it down… It could also be a browser change I suppose?
I am having the same problem on my web app. I use ver 2019
It doesn’t happen all the time but it does occur frequently.
I have tried several different ways of showing the buttons and switching them including setting a timer. Nothing seems to help.
I can reproduce the behavior by dragging my finger from outside a WebButton to inside a WebButton and then pulling my finger away from the screen. When I do this, the button state changes (whether it’s showing the Pressed or Hover state I can’t say). Touching the screen again un-does this state.