react-php-v8js
react-php-v8js copied to clipboard
Update package react and react-dom to version 15 and update code styl…
- Update Dependencies package for react version 15 .
- Update code style better server-side rendering :)
give the style on your TabList, example :
<TabList style={{ position: "fixed", width: "100%" }} >
and give padding top to the TabPanel:
<TabPanel style={{ paddingTop: "50px" }}>
@vieyama doing this stops the controlled feature
Hello, here is a simple solution to achieve scrollable tabs.
- Add a container around
<TabList>and assignoverflow: scroll. - Assign
width: max-content;to.react-tabs__tab-list
Demo available here: https://codepen.io/alexpapworth/pen/eYaNorx