No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Remove checkbox default focus

    Help
    2
    3
    199
    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.
    • J
      jctrebalag last edited by

      Hi,

      Is there a way to disable checkbox default focus behaviour (v.1.2.4) ?
      If I click on a checkbox, the focus (circle around checkbox) does not disappear and same is happening when I untick it. I need to click somewhere else to make it disappear.

      Any help would be appreciated. Thanks.

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by s.molinari

        That is part of the Material design spec. https://material.io/components/selection-controls/

        And it’s purpose is for keyboard access. If you’ll notice, when it’s “highlighted” you can still uncheck and check the box with the space bar.

        If you don’t want the focus highlight, you’ll need to turn it off via CSS. https://codepen.io/smolinari/pen/qBBrWLz

        Scott

        1 Reply Last reply Reply Quote 2
        • J
          jctrebalag last edited by

          Hi Scott,

          Thank you very much for the help. It was driving me crazy ^^.

          Jean-Christophe

          1 Reply Last reply Reply Quote 0
          • First post
            Last post