How to position a custom time picker based on screen height in React like an HTML select element?
I have a custom time picker inside a modal for an “Add Timesheet” component, but it’s not functioning as expected. I want the time picker to behave like an HTML select
element in terms of positioning: if the div is taller than the window screen height, the time picker should open upwards; otherwise, it should open downwards.
How to position a custom time picker based on screen height in React like an HTML select element?
I have a custom time picker inside a modal for an “Add Timesheet” component, but it’s not functioning as expected. I want the time picker to behave like an HTML select
element in terms of positioning: if the div is taller than the window screen height, the time picker should open upwards; otherwise, it should open downwards.
How to position a custom time picker based on screen height in React like an HTML select element?
I have a custom time picker inside a modal for an “Add Timesheet” component, but it’s not functioning as expected. I want the time picker to behave like an HTML select
element in terms of positioning: if the div is taller than the window screen height, the time picker should open upwards; otherwise, it should open downwards.
How to position a custom time picker based on screen height in React like an HTML select element?
I have a custom time picker inside a modal for an “Add Timesheet” component, but it’s not functioning as expected. I want the time picker to behave like an HTML select
element in terms of positioning: if the div is taller than the window screen height, the time picker should open upwards; otherwise, it should open downwards.
How to position a custom time picker based on screen height in React like an HTML select element?
I have a custom time picker inside a modal for an “Add Timesheet” component, but it’s not functioning as expected. I want the time picker to behave like an HTML select
element in terms of positioning: if the div is taller than the window screen height, the time picker should open upwards; otherwise, it should open downwards.