jquense / react-big-calendar

gcal/outlook like calendar component
http://jquense.github.io/react-big-calendar/examples/index.html
MIT License
7.82k stars 2.23k forks source link

Horizontal scroll on Resource view #1668

Open samirraut34 opened 4 years ago

samirraut34 commented 4 years ago

I am using the resource view on react big calendar with 100 resources. how can i maintain the horizonal scrolling on clicking on any event? currently the calendar scroll back to the first resource position

saadqu commented 3 years ago

to all the world struggling with horizontal scroll, just add display: grid; rbc-time-view rbc-time-view-resources

saadqu commented 3 years ago

or add width: 95vw to parent div

tranquanglk94 commented 2 years ago

to all the world struggling with horizontal scroll, just add display: grid; rbc-time-view rbc-time-view-resources

it works for me. May Thanks

sapkus commented 2 years ago

Have you managed to solve horizontal scrolling? Scrolling itself works fine with grid, but with multiple resources with each re-render (for eamaple selecting event), it goes to start, when I want to keep in my current position.

szlezak commented 1 year ago

Add overflow-x: scroll into .rbc-time-content and works just fine