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

Commit 3f7e3ea

Browse files
committed
Stop Propagation on Year Picker Container when onMouseUp (#201)
1 parent e22c6ff commit 3f7e3ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Calendar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class Calendar extends PureComponent {
166166
const lowerYearLimit = minDate.getFullYear();
167167
const styles = this.styles;
168168
return (
169-
<div className={styles.monthAndYearWrapper}>
169+
<div onMouseUp={e => e.stopPropagation()} className={styles.monthAndYearWrapper}>
170170
{showMonthArrow ? (
171171
<button
172172
type="button"

0 commit comments

Comments
 (0)