Read the statement by Michael Teeuw here.
Unable to click a toggle button
-
I removed all unused elements to see if that was hiding anchor tag. Still no luck.
-
@shre28491193 I checked out your repository again and remade the changes I posted and it’s working for me, is your problem that you can’t see the button after clicked or does the click don’t work at all?
-
@strawberry-3-141 It is strange that it works for you. I wonder what i am doing different.
I am able to see the button on my screen but it does not do anything when clicked on it nor changes the cursor to a pointer.
-
Hey @strawberry-3-141, have you considered the CSS layers? Could it be possible that something else is overlaid on top of of where the button might be and that’s why @shre28491193 is unable to click on it? I haven’t checked out any of the code nor tried anything, too many things going on at the same time and just too busy, but at the moment, that’s the one thing that came to mind … Set a z-index on the button layer and see what happens.
-
@KirAsh4 I did give that a try, still no luck. From my understanding z-index is only valid when you are trying to put your element over all other siblings. I am running that button by just itself.
-
z-index applies to everything in the DOM element. Just because your button is on a layer all by itself, does not mean there might not be another layer on top of it that you are unaware of. However if you say you tried it (set it to 999?) and no difference, then something else is going on. At the moment I’m just too overloaded with other projects.
-
I set it to 999 and still the same issue.
No worries , thanks for helping.
-
I did find out that if you load this in a module position that currently has a running module in it then it will not work. If you move it to a module position that has NO other module running in it… it works.
-
Atlast it did work. I moved it to a different position and it worked.
-
Thank you everyone for helping.