Skip to content

Commit

Permalink
fix: prevent disabled flipper from emitting event (microsoft#21003)
Browse files Browse the repository at this point in the history
* fix: prevent disabled flipper from emitting event

* Change files
  • Loading branch information
eljefe223 authored and Marion Le Pontois committed Jan 17, 2022
1 parent 1cc9715 commit 3b6524d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: prevent disabled flipper from emitting event",
"packageName": "@fluentui/web-components",
"email": "jes@microsoft.com",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions packages/web-components/src/flipper/flipper.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export const flipperStyles: (context: ElementDefinitionContext, definition: Flip
:host(.disabled) {
opacity: ${disabledOpacity};
cursor: ${disabledCursor};
pointer-events: none;
}
.next,
Expand Down

0 comments on commit 3b6524d

Please sign in to comment.