Skip to content

Commit

Permalink
Merge pull request #60 from fabien-ml/hotfix/#58
Browse files Browse the repository at this point in the history
fix: #58
  • Loading branch information
fabien-ml committed Jan 19, 2023
2 parents 76bd888 + c8b2f30 commit 68482d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/listbox/listbox-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const ListboxItem = createPolymorphicComponent<"div", ListboxItemOptions>
const dataset: Accessor<ListboxItemDataSet> = createMemo(() => ({
"data-disabled": selectableItem.isDisabled() ? "" : undefined,
"data-selected": selectableItem.isSelected() ? "" : undefined,
"data-hover": isHovered() && !listBoxContext.shouldFocusOnHover() ? "" : undefined,
"data-hover": isHovered() ? "" : undefined,
"data-focus": isFocused() ? "" : undefined,
"data-focus-visible": isFocusVisible() ? "" : undefined,
"data-active": selectableItem.isPressed() ? "" : undefined,
Expand Down

0 comments on commit 68482d9

Please sign in to comment.