mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-07 13:48:31 +08:00
fix(popover): onFocus (#1695)
* fix:(popover): onFocus Signed-off-by: Sepush <sepush@outlook.com> * docs(changelog): add changelog Signed-off-by: Sepush <sepush@outlook.com>
This commit is contained in:
parent
49e3543aac
commit
9a539f402a
@ -9,6 +9,7 @@
|
||||
- Fix `n-log`'s `trim` prop not being independent when used.
|
||||
- Fix `n-slider` processing of step value precision.
|
||||
- Fix `n-date-picker` throw error when `time-picker` input is empty, closes [#1678](https://github.com/TuSimple/naive-ui/issues/1678).
|
||||
- Fix `n-popover` not working when `trigger` is `focus`.
|
||||
- Fix `n-scrollbar` judement error on mouse up away.
|
||||
|
||||
### Feats
|
||||
|
@ -9,6 +9,7 @@
|
||||
- 修复 `n-log` 的 `trim` 属性不能独立使用
|
||||
- 修复 `n-slider` 对于数值精度的处理问题
|
||||
- 修复 `n-date-picker` 当 `time-picker` 输入为空时报错,关闭 [#1678](https://github.com/TuSimple/naive-ui/issues/1678)
|
||||
- 修复 `n-popover` 当 `trigger` 为 `focus` 不生效的问题
|
||||
- 修复 `n-scrollbar` 对于鼠标外部抬起事件触发对象的判断
|
||||
|
||||
### Feats
|
||||
|
@ -477,7 +477,7 @@ export default defineComponent({
|
||||
},
|
||||
onFocus: (e: FocusEvent) => {
|
||||
ascendantAndCurrentHandlers.forEach((_handlers) => {
|
||||
_handlers.onBlur(e)
|
||||
_handlers.onFocus(e)
|
||||
})
|
||||
},
|
||||
onClick: (e: MouseEvent) => {
|
||||
|
Loading…
Reference in New Issue
Block a user