Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 658f913

Browse files
AAntonSBTigge
authored andcommitted
fix(selectNative): icon is now clickable (#92)
1 parent 1cda051 commit 658f913

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/core/src/SelectNative/__snapshots__/index.test.tsx.snap

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ exports[`Draggable Disabled 1`] = `
4848
position: absolute;
4949
right: 8px;
5050
background-color: transparent;
51+
pointer-events: none;
5152
}
5253
5354
.c5 > svg {
@@ -262,6 +263,7 @@ exports[`Draggable Variant 1`] = `
262263
position: absolute;
263264
right: 8px;
264265
background-color: transparent;
266+
pointer-events: none;
265267
}
266268
267269
.c5 > svg {
@@ -476,6 +478,7 @@ exports[`Draggable Variant 2`] = `
476478
position: absolute;
477479
right: 8px;
478480
background-color: transparent;
481+
pointer-events: none;
479482
}
480483
481484
.c5 > svg {
@@ -690,6 +693,7 @@ exports[`Draggable Width 1`] = `
690693
position: absolute;
691694
right: 8px;
692695
background-color: transparent;
696+
pointer-events: none;
693697
}
694698
695699
.c5 > svg {
@@ -904,6 +908,7 @@ exports[`Draggable Width 2`] = `
904908
position: absolute;
905909
right: 8px;
906910
background-color: transparent;
911+
pointer-events: none;
907912
}
908913
909914
.c5 > svg {
@@ -1118,6 +1123,7 @@ exports[`Draggable Width 3`] = `
11181123
position: absolute;
11191124
right: 8px;
11201125
background-color: transparent;
1126+
pointer-events: none;
11211127
}
11221128
11231129
.c5 > svg {
@@ -1332,6 +1338,7 @@ exports[`Draggable Width 4`] = `
13321338
position: absolute;
13331339
right: 8px;
13341340
background-color: transparent;
1341+
pointer-events: none;
13351342
}
13361343
13371344
.c5 > svg {

packages/core/src/SelectNative/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const IconContainer = styled.div`
4747
position: absolute;
4848
right: 8px;
4949
background-color: transparent;
50+
pointer-events: none;
5051
5152
> svg {
5253
width: 100%;

0 commit comments

Comments
 (0)