malzariey / filament-daterangepicker-filter

MIT License
79 stars 39 forks source link

Layout issue on mobile #72

Closed Umar-Farooq-Shafi closed 3 months ago

Umar-Farooq-Shafi commented 3 months ago

image

malzariey commented 3 months ago

Refer to the following docs:

https://github.com/malzariey/filament-daterangepicker-filter?tab=readme-ov-file#drops-position

Umar-Farooq-Shafi commented 3 months ago

I did add the drop position. It doesn't matter if it's up or down; the overflow is still hidden.

malzariey commented 3 months ago

I did add the drop position. It doesn't matter if it's up or down; the overflow is still hidden.

When you use ->drops(DropDirection::DOWN)

You would be able to scrolldown to select options

Screenshot from 2024-04-26 13-15-12

You could also use ->alwaysShowCalendar(false)

to not show the calcendar unless custom dates are needed: Screenshot from 2024-04-26 13-19-43