Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
fix(dropdown): truncate the header and content (#1161)
Browse files Browse the repository at this point in the history
* truncate the header and content

* updated changelog
  • Loading branch information
silviuaavram authored Apr 5, 2019
1 parent 9ea64f1 commit d814ed0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

### Fixes
- Truncate `content` and `header` of `ListItem` when used from `DropdownSelectedItem` @silviuavram ([#1161](https://github.com/stardust-ui/react/pull/1161))

<!--------------------------------[ v0.26.0 ]------------------------------- -->
## [v0.26.0](https://github.com/stardust-ui/react/tree/v0.26.0) (2019-04-03)
[Compare changes](https://github.com/stardust-ui/react/compare/v0.25.1...v0.26.0)
Expand Down
2 changes: 2 additions & 0 deletions packages/react/src/components/Dropdown/DropdownItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ class DropdownItem extends UIComponent<ReactProps<DropdownItemProps>, any> {
styles: styles.content,
},
})}
truncateContent
truncateHeader
{...accessibilityItemProps}
{...unhandledProps}
/>
Expand Down

0 comments on commit d814ed0

Please sign in to comment.