ant design tooltip is not shown when button is disabled

Odd Owl answered on April 24, 2023 Popularity 5/10 Helpfulness 2/10

Contents


More Related Answers

  • how to hide cancel button in ant design modal
  • ant design css not working
  • antd dropdown stop propogation
  • react tooltip on disabled button
  • antd modal hide ok button
  • disable click extra collapse antd
  • tooltip ant design scroll
  • onOk button antd disable when loading
  • hide auto tooltip sorter antd table

  • ant design tooltip is not shown when button is disabled

    0

    Workaround:

    1. Wrap the disabled button/input in another element. (e.g.: <span/>)

    2. Add {pointer-events: none} style to the disabled button/input.

    The solution requires both of these steps to work.

    Popularity 5/10 Helpfulness 2/10 Language whatever
    Source: github.com
    Link to this answer
    Share Copy Link
    Contributed on Apr 24 2023
    Odd Owl
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.