Skip to content

Commit 2f08bbc

Browse files
Merge pull request #64 from linked-planet/dev
Dev
2 parents 3452d53 + d3588b6 commit 2f08bbc

File tree

7 files changed

+17
-12
lines changed

7 files changed

+17
-12
lines changed

library/src/components/Modal.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ function Container({
9191
}
9292
id={id}
9393
data-testid={testId}
94+
onWheel={(e) => {
95+
e.stopPropagation() // this is necessary or scrolling will not work in the select dropdown menu in the modal
96+
}}
9497
>
9598
<VisuallyHidden>
9699
<RDialog.DialogDescription>

library/src/components/timetable/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export namespace TimeTableTypes {
4242
G extends TimeTableGroup,
4343
I extends TimeSlotBooking,
4444
> = _CustomHeaderRowHeaderProps<G, I>
45-
export type CustomHeadeRowTimeSlotProps<
45+
export type CustomHeaderRowTimeSlotProps<
4646
G extends TimeTableGroup,
4747
I extends TimeSlotBooking,
4848
> = _CustomHeaderRowTimeSlotProps<G, I>

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"stylelint-config-tailwindcss": "^0.0.7",
157157
"stylelint-order": "^6.0.4",
158158
"tailwind-merge": "^2.5.4",
159-
"tailwindcss": "^3.4.13",
159+
"tailwindcss": "^3.4.14",
160160
"typescript": "^5.6.3",
161161
"typescript-plugin-css-modules": "^5.1.0",
162162
"vite": "^5.4.9",

showcase/public/showcase-sources.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7937,7 +7937,7 @@ function TestCustomHeaderRowTimeSlot<
79377937
slotsArray,
79387938
entries,
79397939
tableCellRef,
7940-
}: TimeTableTypes.CustomHeadeRowTimeSlotProps<G, I>) {
7940+
}: TimeTableTypes.CustomHeaderRowTimeSlotProps<G, I>) {
79417941
const groupItems = entries[1].items
79427942

79437943
const groupItemsOfCell: I[] = []

showcase/src/components/showcase/wrapper/ModalShowcase.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ function ControlledExample() {
170170
}}
171171
shouldCloseOnEscapePress={true}
172172
accessibleDialogDescription="This is a modal dialog example"
173+
useModal={true}
173174
>
174175
<Modal.Header>
175176
<Modal.Title accessibleDialogTitle="Sample Modal">
@@ -195,6 +196,7 @@ function ControlledExample() {
195196
placeholder="Choose..."
196197
options={selectOptions}
197198
menuPlacement="top"
199+
menuIsOpen
198200
/>
199201
<Dropdown.Menu
200202
className="w-full"

showcase/src/components/showcase/wrapper/TimeTableShowcase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ function TestCustomHeaderRowTimeSlot<
434434
slotsArray,
435435
entries,
436436
tableCellRef,
437-
}: TimeTableTypes.CustomHeadeRowTimeSlotProps<G, I>) {
437+
}: TimeTableTypes.CustomHeaderRowTimeSlotProps<G, I>) {
438438
const groupItems = entries[1].items
439439

440440
const groupItemsOfCell: I[] = []

0 commit comments

Comments
 (0)