You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create a responsive day picker, we need to have a ref to the OverlayComponent so we can set it's left or right attribute such that it doesn't open off screen.
I see two approaches:
Explicit overlayRef prop.
Add a overlayProps prop, and pass {...overlayProps}.
Either of these would be implemented here. I'm happy to open a PR to implement this, just wanted to get some thoughts on the preferred approach here.
This discussion was converted from issue #830 on February 10, 2021 02:55.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
To create a responsive day picker, we need to have a ref to the OverlayComponent so we can set it's
left
orright
attribute such that it doesn't open off screen.I see two approaches:
overlayRef
prop.overlayProps
prop, and pass{...overlayProps}
.Either of these would be implemented here. I'm happy to open a PR to implement this, just wanted to get some thoughts on the preferred approach here.
Beta Was this translation helpful? Give feedback.
All reactions