MDBBtn onClick doesn't work


Topic: MDBBtn onClick doesn't work

zkrapavickas asked 5 years ago

*Expected behavior*Handle button click event.

*Actual behavior*Button click event doesn't work.

Resources (screenshots, code snippets etc.) { alert("ssss") }}>Tooltip on top Tooltip on top


zkrapavickas commented 5 years ago

:( attempt to add code snippet failing

        <div style={{ display: "flex" }}>
            <MDBTooltip placement="top">
                        <MDBBtn onClick={() => { alert("ssss") }}>Tooltip on top</MDBBtn>
                <div>Tooltip on top</div>
            </MDBTooltip>
        </div>

Aliaksandr Andrasiuk staff answered 5 years ago

Hi,

This problem is already fixed in our v.4.18.1 release.

You can update your mdbreact version and try to run this code again.

Best regards.


Yep, this works with v.4.18.1. Thanks guys, case closed.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.18.0
  • Device: PC
  • Browser: Google Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags