Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Fix tab disabled issue #568

Merged
merged 3 commits into from
Jun 13, 2019
Merged

Conversation

zoncrd
Copy link
Contributor

@zoncrd zoncrd commented Jun 13, 2019

Fix an issue occurring in the Tab component when disabled and styled with custom CSS classes.
The tab--disabled CSS class was appended to the component className without an initial space and was concatenated to the last custom CSS class if provided, consequently breaking the styling.

I had also a simple test to check if the disabled Tab component is findable by the tab--disabled CSS class.

It's my first PR, let me know if it's okay or if I have to do something more.

CHANGELOG.md Outdated Show resolved Hide resolved
@@ -7,8 +7,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Ability to add tooltips to `Slider` and `RangeSlider`, which can be visible always or on hover. Tooltips also take a position argument. [#564](https://github.com/plotly/dash-core-components/pull/564)

### Fixed
- Fixed `min_date_allowed` and `max_date_allowed` bug in `DatePickerRange` [#551]https://github.com/plotly/dash-core-components/issues/551)
- Fixed `min_date_allowed` and `max_date_allowed` bug in `DatePickerRange` [#551](https://github.com/plotly/dash-core-components/issues/551)
Copy link
Collaborator

Choose a reason for hiding this comment

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

hah cc @wbrgss I thought you already fixed this, bad rebase in #564?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I thought I fixed it, must be.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

With a test even, thanks @zoncrd ! 💃

Co-Authored-By: alexcjohnson <johnson.alex.c@gmail.com>
@alexcjohnson
Copy link
Collaborator

Hmm, not sure why percy isn't picking up this job. Would it need write access to the source repo? Merging anyway.

@alexcjohnson alexcjohnson merged commit a768eda into plotly:master Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants