Set button unfocused not working on Edge and IE ?

0 favourites
  • 3 posts
From the Asset Store
On the Edge is a puzzle game where you have 40 levels to have fun with.
  • Hi all,

    I have a linguistic experiment I created in Construct 2 and hosted here:

    lpl-aix.fr/~lamarque

    It's about choosing 1 of 4 ways to abbreviate loanwords in Japanese. So I have one button for each abbreviation strategy. After each answer given. The buttons' positions are randomized. I don't want the focus to stay on the clicked button, otherwise, when starting a new question, the same button, even if it moved, will be highlitghted. This can have an influence on people's answers. So I want to avoid that.

    Of course, I simply added an event like "when 'button' is clicked, set 'button' unfocused". And it works perfectly fine on all browsers but IE and Edge...

    As long as the mouse doesn't move, the focus will stay on the button.

    The event sheet for this part looks like that (I disabled everything that is irrelevant to the answer buttons'behaviors):

    Anybody has an idea why IE and Edge work differently than the rest ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Try adding "Wait 0" before the unfocus action.

    Button is a DOM element, they work differently in different browsers. If you want consistency, make your own button with a sprite or 9-patch object.

  • Unfortunately, adding "wait 0" did not change a thing. But thanks for trying.

    I'll consider making my own buttons.

    Thanks again.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)