Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update scrollbars package dependency #137

Merged
merged 7 commits into from
Jun 7, 2019

Conversation

alexpaxton
Copy link
Contributor

@alexpaxton alexpaxton commented Jun 6, 2019

Closes #134

  • Update react-scrollbars-custom to latest (no longer in alpha)
  • Expose autosizing X/Y only props
  • Change autosize default to false
  • Update dropdown menu component to fix content sizing issue
  • Add markdown files for all dropdown family components

Tested all 3 components that use DapperScrollbars and they all work as expected

Copy link
Collaborator

@mavarius mavarius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment

@@ -14,6 +14,10 @@ $dapper-scrollbars--size: 6px;
bottom: 0 !important;
}

.dapper-scrollbars--content {
display: block !important;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be a lot of !important in dapper scrollbars. Could this possibly be done instead with specificity?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it's a little smelly. I'm currently using it to override the injected inline styles. Though I think in this new version I may not have to do so many !importants

@alexpaxton alexpaxton merged commit 3893a47 into master Jun 7, 2019
@alexpaxton alexpaxton deleted the external/update-scrollbars-dependency branch June 7, 2019 00:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dropdown menu does not fill width properly
2 participants