-
Notifications
You must be signed in to change notification settings - Fork 4
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
Inner most wrapping div cannot be styled #4
Comments
Sure, that's a good point. Also, can you think of a good shortcut prop name for what you're trying to do? There's already a |
@darcyadams does |
@jedwards1211 thanks for the quick reply. yeah, |
right, I wish there could be more of a magic one-size-fits-all solution but I sure can't think of one. I'll merge that PR |
🎉 This issue has been resolved in version 4.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
thanks @jedwards1211 you win the award for most responsive project maintainer ever! 🏆 |
any chance you could quickly add support in |
ah yes, that was on the back of my mind, cool that you're using that too! |
Each child component of the view slider is wrapped in a
div
element that receives a hard coded inline style ofwidth: '100%'
. This is problematic in certain layouts. The reason being that with no height constraint (or ability to add one) thisdiv
will grow to the size of its content. This prevents the child component from being able to fill its parent (ie height of 100%) and also have a scrolling element unless the developer is willing to put a fixed pixel height on them.Would you consider adding another optional inline style prop to allow styles to be added to this
div
?The text was updated successfully, but these errors were encountered: