Skip to content
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

fix: expand icon overlaps actions in tree view #3064

Merged
merged 1 commit into from
Apr 2, 2019

Conversation

macrozone
Copy link
Contributor

On certain material-ui versions, the expand icon stretches the whole TreeNode width, because we set it to left: ... but material-ui sets it to right: ....

I am force to use 3.9.2, but this was already the case in the used version 1.4.0.

This is fixed in material-ui 4 in this commit: mui/material-ui@7b0f7d5

until then, setting right: auto on the expandIcon in the TreeNode will fix it for every version

On certain material-ui versions, the expand icon stretches the whole TreeNode width, because we set it to `left: ...` but material-ui sets it to `right: ...`.

I am force to use 3.9.2, but this was already the case in the used version 1.4.0.

This is fixed in material-ui 4 in this commit: mui/material-ui@7b0f7d5

until then, setting `right: auto` on the expandIcon in the TreeNode will fix it for every version
@fzaninotto fzaninotto merged commit a827302 into marmelab:master Apr 2, 2019
@fzaninotto
Copy link
Member

thanks!

@fzaninotto fzaninotto added this to the 2.8.5 milestone Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants