[Silk UI Mobile] Toggle element is changing position on clic on Chrome

[Silk UI Mobile] Toggle element is changing position on clic on Chrome

  
Forge Component
(27)
Published on 14 Jun by Labs
27 votes
Published on 14 Jun by Labs

Hi,

We use toggle element on our mobile app. On iOS it is working ok, but on Android and Chrome Desktop the element position is changing when toggle the state (looks like jumping).

I've latest version of the component.

How can it be fixed?

Thank you.

Hi Mykola,

When you say "toogle" are you referring to the switch widget?

Whats the structure you have? Is this a List, with List Item, etc?

I tested a series of switchs, on divs, in a list and withing List Items.
I can't reproduce the error on Chrome (didn't tested in Android).

Cheers,
Eduardo Jauch

EDIT

Could you provide a simple OML where we can observe this effect?

Hi Eduardo,

Thank y ou for your reply.

While creating a OML for this issue we've found that problem actually was in our stylesheet in styles for 

SyntaxEditor Code Snippet

input[type="checkbox"]:focus

element it had height:auto; So removing this actually fixes the issue.

Sorry for false alarming :)


Cheers

lol

First guess should always be CSS, second JavaScript. ;)

Nice you found the problem :)

Cheers

Eduardo Jauch

Eduardo Jauch wrote:

lol

First guess should always be CSS, second JavaScript. ;)

Nice you found the problem :)

Cheers

Eduardo Jauch

Hi Eduardo,

I need the toggle attached