useCalendarCell and CSS zoom #6483
raczorsi97
started this conversation in
General
Replies: 1 comment 1 reply
-
Maybe related: #6431 I'm not sure what the use case for applying zoom to the body of the web page is since browsers include their own methods for zooming. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am using
useCalendar
,useCalendarGrid
anduseCalendarCell
hooks for my Calendar, and I discovered an unusual behavior.When
zoom
CSS property is applied to thebody
of the page, or toany parent element
of the Calendar, the Calendar cells can't be selected anymore viamouse click
. However the keyboard navigation is still working, a date can be reached by arrow naviagtion and selected via Enter.This can be easily reproduced here: https://react-spectrum.adobe.com/react-aria/useCalendar.html#usecalendarcell by adding
zoom: 1.5
(or any value) to the body or to the parent div of the Calendar.Can this be fixed ?
Beta Was this translation helpful? Give feedback.
All reactions