mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-17 13:20:52 +08:00
fix(upload): inner anchor element may show focus-visible outline style
This commit is contained in:
parent
fcea87a078
commit
c023232932
@ -15,6 +15,7 @@
|
||||
- Fix `n-tree` throws error on async expanding data with `:expand-on-click="true"`, closes [#3089](https://github.com/TuSimple/naive-ui/issues/3089).
|
||||
- Fix `n-slider`'s tooltip has no enter transition when it's triggered by keyboard.
|
||||
- Fix `n-slider`'s mark line wrap isn't correct when it appears at right-most position.
|
||||
- Fix `n-upload`'s inner anchor element may show focus-visible outline style.
|
||||
|
||||
### Feats
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
- 修复 `n-tree` 在设定 `expand-on-click` 之后异步展开报错,关闭 [#3089](https://github.com/TuSimple/naive-ui/issues/3089)
|
||||
- 修复 `n-slider` 使用键盘聚焦触发 toolip 的时候没有动画
|
||||
- 修复 `n-slider` 在 mark 出现在最右侧的时候换行不正常
|
||||
- 修复 `n-upload` 内部的链接会出现原生 focus-visible 的 outline 样式
|
||||
|
||||
### Feats
|
||||
|
||||
|
@ -73,6 +73,7 @@ export default c([
|
||||
opacity: 1;
|
||||
transition: opacity .3s var(--n-bezier);
|
||||
`, [
|
||||
c('a, img', 'outline: none;'),
|
||||
cM('disabled', `
|
||||
opacity: var(--n-item-disabled-opacity);
|
||||
cursor: not-allowed;
|
||||
|
Loading…
Reference in New Issue
Block a user