-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Milestone
Description
Bug report
- Package version(s): 2.0.0-beta.3
- Browser and OS versions: Chrome 64 on Windows 10
Steps to reproduce
- Render a popover with a Button inside
- Set the
pt-popover-dismiss
class on the Button and alsodisabled={true}
Actual behavior
The button appears to be disabled, the mouse cursor changes when hovering over the button, but clicking causes the popover to close.
Expected behavior
The button should be disabled, the mouse cursor should change when hovering over the button, and clicking should do nothing.
According to the Blueprint Button docs:
Button uses the native disabled attribute on the tag so the browser disables all interactions ...
If all interactions are being disabled, how does clicking cause the popover to close?