-
Notifications
You must be signed in to change notification settings - Fork 13
Tabs Component #917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 5.x-RC
Are you sure you want to change the base?
Tabs Component #917
Conversation
|
Tabs are horizontally scrollable on mobile. I'm interested to know what people think about that, and am open to suggestions on how to make it better. There is also two display options for the tabs (horizontal and vertical). Both default to horizontal on mobile. |
|
Also make this work with new tabs recipe, if possible. |
coreylafferty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tomealter I've receiving the following error when compiling (using our ddev drupal setup):
[webpack-cli] Error: Prevent writing to file that only differs in casing or query string from already written file.
This will lead to a race-condition and corrupted files on case-insensitive file systems.
/var/www/html/web/themes/gesso/dist/js/Tabs.es6.js
/var/www/html/web/themes/gesso/dist/js/tabs.es6.js
I suspect the fix is to rename /modules/Tabs.es6.js to something else, but wasn't sure what would be the best name, so pushing back to you.
|
@coreylafferty could you try again and let me know if this solves it? |
|
This is compiling now. Thank you! The only question remaining for me about this one is about class names. There are three base classes being used ( This is similar to the accordion component, where we have two base classes ( However, the button-group component also has two twig files ( I think we should be consistent here, and I lean towards the button-group example (even though that might means having twig files that don't have a base class as their main wrapper since the content of those twig files should always be wrapped by the parent twig file). @tomealter @dcmouyard @kmonahan Thoughts? |
No description provided.