Skip to content

Commit

Permalink
fix(buttom): doesn't omit content if content is wrapped in ellipsis c…
Browse files Browse the repository at this point in the history
…ontainer, closes #3178

Co-authored-by: 07akioni <07akioni2@gmail.com>
  • Loading branch information
jizai1125 and 07akioni committed Jun 26, 2022
1 parent 2823ccb commit 6d0ada7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fixes

- Fix `n-button` doesn't omit content if content is wrapped in ellipsis container, closes [#3178](https://github.com/TuSimple/naive-ui/issues/3178).
- Fix `n-select` will remove select value in multiple mode in `form` if Enter key is pressed in input element.
- Fix `n-select`'s filter prop not working, closes [#3175](https://github.com/TuSimple/naive-ui/issues/3175).

Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

### Fixes

- 修复 `n-select``form` 中,多选的情况下,在 input 元素 s 中按下 Enter 键会导致选项被清除
- 修复 `n-button` 放入 ellipsis 的容器中时不能正确显示,关闭 [#3178](https://github.com/TuSimple/naive-ui/issues/3178).
- 修复 `n-select``form` 中,多选的情况下,在 input 元素中按下 Enter 键会导致选项被清除
- 修复 `n-select``filter` 属性不生效,关闭 [#3175](https://github.com/TuSimple/naive-ui/issues/3175)

## 2.30.6
Expand Down
1 change: 1 addition & 0 deletions src/button/src/styles/index.cssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export default c([
display: flex;
align-items: center;
flex-wrap: nowrap;
min-width: 0;
`, [
c('~', [
cE('icon', {
Expand Down

0 comments on commit 6d0ada7

Please sign in to comment.