• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Unable to click a toggle button

Scheduled Pinned Locked Moved Troubleshooting
22 Posts 4 Posters 13.9k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    shre28491193
    last edited by Oct 28, 2016, 5:42 PM

    Got it. Will try this in a few minutes. I am in a meeting at work now.

    1 Reply Last reply Reply Quote 0
    • S Offline
      shre28491193
      last edited by Oct 28, 2016, 6:09 PM

      @strawberry-3-141 No errors in the console. :-(

      S 1 Reply Last reply Oct 28, 2016, 6:10 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @shre28491193
        last edited by Oct 28, 2016, 6:10 PM

        @shre28491193 so you can see the button, but after a click nothing happens?

        Please create a github issue if you need help, so I can keep track

        S 1 Reply Last reply Oct 28, 2016, 6:13 PM Reply Quote 0
        • S Offline
          shre28491193
          last edited by Oct 28, 2016, 6:11 PM

          Button shows up on the mirror , but still click event doesnt work.

          1 Reply Last reply Reply Quote 0
          • S Offline
            shre28491193 @strawberry 3.141
            last edited by Oct 28, 2016, 6:13 PM

            @strawberry-3.141 Button shows up on the mirror , but still click event doesnt work

            1 Reply Last reply Reply Quote 0
            • S Offline
              shre28491193
              last edited by Oct 28, 2016, 6:29 PM

              I removed all unused elements to see if that was hiding anchor tag. Still no luck.

              S 1 Reply Last reply Oct 28, 2016, 6:33 PM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @shre28491193
                last edited by Oct 28, 2016, 6:33 PM

                @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?

                Please create a github issue if you need help, so I can keep track

                1 Reply Last reply Reply Quote 0
                • S Offline
                  shre28491193
                  last edited by Oct 28, 2016, 6:42 PM

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    KirAsh4 Moderator
                    last edited by Oct 28, 2016, 7:31 PM

                    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.

                    A Life? Cool! Where can I download one of those from?

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      shre28491193
                      last edited by Oct 28, 2016, 7:36 PM

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        11/22
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy