ios-personmd-notifications md-help-circle

Profile

  • Guest
    medal 0
  • Posts: 21
  • Post Likes: 3765

Notifications

  • No Unread Notifications

Solved
Can't click on UI elements (Menu, + and - buttons etc.)

ios-checkmark-circle
This thread is closed because it is solved.
angle-double-left ios-arrow-back 1 ios-arrow-forward angle-double-right
md-lock This topic has been closed by the moderator
medal 5090 CEO & CTO
3 years 47 days ago
I'm aware of and working on this issue currently. The cause is the same as this and very peculiar. I hope to have a solution up within the hour.

Essentially, the click events don't fire properly on certain screen resolutions on desktop. A temporary workaround for the issue is to "zoom out" the website until the menu shows by default. Any resolution on desktop where the menu is hidden by default seems to be a problem. Any resolution or zoom level where the menu shows by default seems to register the click events correctly. Mobile apps are fine, as is desktop at most resolutions.

As was mentioned in the changelog for this update, a lot of back-end web code was altered but ironically not much in this area. All of the web libraries have been updated and it may be related to that, in the meantime I'll keep searching.
md-quotelink
medal 5000
3 years 47 days ago
I have tried the " zoom out " advice and still doesnt work. Log out is the same, just to let you know. Menu button didnt work this morning, but does now. 

Do we know about any bug which affects the race? Normally i use my phone and my laptop so i have better control for both drivers, so im just curious if it will affect my race today
md-quotelink
medal 5090 CEO & CTO
3 years 47 days ago (Last edited by Jack Basford 3 years 47 days ago)
Mr
I have tried the " zoom out " advice and still doesnt work. Log out is the same, just to let you know. Menu button didnt work this morning, but does now.

That's because I temporarily changed the menu to use a different click event handler, I can't do the same for many of the buttons in the UI like + and - though. At the moment the actual cause remains a mystery, but I know it only happens if you run a browser on desktop in a resolution where the menu is not visible by default. No issues on mobiles, tablets or even desktops if you can get the browser / app to run on a wider screen. In firefox at least zooming out (CTRL+mouse wheel or CTRL+'-') then refreshing the website to force it to reload also fixes it.

I've explored several possibilities so far and it looks like something is obscuring the click events from firing. They are correctly assigned and if I click rapidly in the top 1px of the screen on the menu button it actually works in about 1 in every 20 clicks (???) and then doesn't again. I've never seen anything like it, and whatever is obscuring it is invisible. While debugging it I even deleted all elements that could block it, with no impact! Having ruled out all the simple explanations I'm now digging in to deeper technical ones.

Mr
Do we know about any bug which affects the race? Normally i use my phone and my laptop so i have better control for both drivers, so im just curious if it will affect my race today

Races should be unaffected by anything in this update, it's only a website / management screen update.




md-quotelink
medal 5090 CEO & CTO
3 years 47 days ago
I believe it is fixed now, as it has been confirmed by at least one other person and is fixed for me too.

It seems that it was the code/library used to allow for the "swipe menu" (swipe from the edge of the screen) on touchscreen devices. Somehow, it was interfering with the click events, so it seems it was something to do with all the third-party library upgrades after all.

I've modified the code in this area and I am now able to click on all the UI elements correctly.

A cache clear is required to get this fix.
md-quotelink
md-lock This topic has been closed by the moderator
angle-double-left ios-arrow-back 1 ios-arrow-forward angle-double-right

You must be logged in to post a reply.