Skip to content

Commit

Permalink
fix: events (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
clmntsnr authored Dec 11, 2024
1 parent 25d409f commit 90077d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/extenders/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Group from "./Group";
export const iconsStyles = tv({
base: "",
slots: {
container: "min-w-fit max-w-fit",
container: "min-w-fit max-w-fit flex-nowrap",
item: "",
},
variants: {
Expand Down
3 changes: 2 additions & 1 deletion src/components/extenders/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ export default function Select<
key="select"
className={mergeClass(
check(),
!((typeof value === "object" && value?.length > 0) || value === undefined) && "opacity-0",
!((typeof value === "object" && value?.length === 0) || value === undefined) &&
"opacity-0",
)}
size="sm"
remix="RiCheckFill"
Expand Down
4 changes: 0 additions & 4 deletions src/components/primitives/EventBlocker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ export default function EventBlocker({ ...props }: EventBlockerProps) {
return (
<div
{...props}
onKeyDown={e => {
e.preventDefault();
e.stopPropagation();
}}
onClick={e => {
e.preventDefault();
e.stopPropagation();
Expand Down

0 comments on commit 90077d6

Please sign in to comment.