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

Changed Ellipsis component for an update of the react-dotdotdot module #755

Merged
merged 2 commits into from
Jul 5, 2019

Conversation

fkloes
Copy link
Collaborator

@fkloes fkloes commented Jul 5, 2019

Description

Our Ellipsis component internally uses the React-dotdotdot module. Within the latest version 1.3.0 its default value for the useNativeClamp prop changed from true to false.

The presence of this prop causes, that various styles are applied to wrapped DOM-Elements, which prevent strings from breaking out of their box. Without them it happened, that vertical scrolling was suddenly possible on product list that include product names with long words.

The code change of this ticket explicitly sets the prop to true. Additionally the module version is now pinned to 1.3.x.

Type of change

  • Bug Fix 🐛 (non-breaking change which fixes an issue)
  • Enhancement 🚀 (non-breaking change which adds functionality)
  • Breaking Change 💥 (fix or feature that would cause existing functionality to not work as expected)
  • Polish 💅 (Just some cleanups)
  • Internal 🏠 Only relates to internal processes.

- pinned react-dotdotdot to version 1.3.x
- added useNativeClamp prop to the Dotdotdot component since its default value was changed to false in 1.3.0
@fkloes fkloes self-assigned this Jul 5, 2019
@fkloes fkloes added the bug Something isn't working label Jul 5, 2019
@SG-Noxoreos SG-Noxoreos merged commit 7f63828 into v6.6.0 Jul 5, 2019
@SG-Noxoreos SG-Noxoreos deleted the PWA-2106-6.6.0 branch July 5, 2019 18:25
@SG-Noxoreos SG-Noxoreos changed the title Fixed an issue with the Ellipsis component Changed Ellipsis component for an update of the react-dotdotdot module Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants