Skip to content

Commit

Permalink
fix(button): loading icon doesn't show on iOS Safari
Browse files Browse the repository at this point in the history
fix #219
  • Loading branch information
07akioni committed Jun 21, 2021
1 parent 6ee3896 commit da83b7a
Show file tree
Hide file tree
Showing 3 changed files with 6 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 @@ -13,6 +13,7 @@
- Fix `n-tree` misses `on-update-expanded-keys`, `on-update-selected-keys`, `on-update-checked-keys` prop.
- Fix `n-tree`'s `selected-keys` prop influences original array.
- Fix `n-select`'s input has useless empty row in multiple filterable mode.
- Fix `n-button`'s loading icon doesn't show on iOS Safari, closes [#219](https://github.com/TuSimple/naive-ui/issues/219).

## 2.12.2 (2021-06-19)

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- 修复 `n-tree` 拖拽悬浮叶节点报错,关闭 [#200](https://github.com/TuSimple/naive-ui/issues/200)
- 修复 `n-tree``selected-keys` 属性影响原数组
- 修复 `n-select` 砸爱 multiple filterable 模式下输入框有无用的空行
- 修复 `n-button` 的 loading 图标在 iOS Safari 上不显示,关闭 [#219](https://github.com/TuSimple/naive-ui/issues/219)

## 2.12.2 (2021-06-19)

Expand Down
5 changes: 4 additions & 1 deletion src/_internal/loading/src/styles/index.cssr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export default cB('base-loading', `
originalTransform: 'translateX(-50%) translateY(-50%)'
})
]),
cE('icon', [
cE('icon', `
height: 1em;
width: 1em;
`, [
iconSwitchTransition()
])
])

0 comments on commit da83b7a

Please sign in to comment.