react-swipeable-views icon indicating copy to clipboard operation
react-swipeable-views copied to clipboard

How to remove overflow:auto in style sheet

Open mehuljariwala opened this issue 6 years ago • 4 comments

can anyone tell me how can i remove overflow which can inside tab container. thanks you Mehul Jariwala

mehuljariwala avatar Oct 17 '18 11:10 mehuljariwala

image I also need to change style (overflow) of these children.

mahdiG avatar Oct 18 '18 12:10 mahdiG

can anyone tell me how can i remove overflow which can inside tab container. thanks you Mehul Jariwala

I think you can only override it by replacing css class

.react-swipeable-view-container > div { overflow: unset !important; }

slide13 avatar Oct 28 '18 12:10 slide13

Another 'hacky' way is adding a little padding through the attribute slideStyle={{padding: '5px'}}

AK-101111 avatar Jan 15 '19 20:01 AK-101111

Try to add slideStyle prop:

<SwipableViews slideStyle={{ overflow: 'visible'}}>

slideStyle according to Component API: This is the inlined style that will be applied on the slide component.

benesva4 avatar Feb 07 '19 17:02 benesva4