Skip to content

Commit b7afcb0

Browse files
authored
fix(datetime): use scroll listener to detect month changes (#25586)
resolves #25257, resolves #25608, resolves #24980
1 parent 48ebb9c commit b7afcb0

File tree

8 files changed

+183
-427
lines changed

8 files changed

+183
-427
lines changed

core/src/components/datetime/datetime.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@
103103
}
104104

105105
/**
106-
* Safari 14 has an issue where Intersection
107-
* Observer is incorrectly fired when
108-
* unhiding the calendar content.
106+
* Safari 14 has an issue where a scroll event
107+
* is incorrectly fired when unhiding the calendar content.
109108
* To workaround this, we set the opacity
110109
* of the content to 0 and hide it offscreen.
111110
*

0 commit comments

Comments
 (0)