Skip to content

Commit

Permalink
fix(components): [date-picker] tagName judgement error (#15079)
Browse files Browse the repository at this point in the history
* fix(components): [table] fix tests typo

* fix(components): [date-picker] tagName judgement error

---------

Co-authored-by: zhuangyufeng <zhuangyufeng@szkingdom.com>
  • Loading branch information
ivan0525 and zhuangyufeng committed Dec 14, 2023
1 parent 6befedd commit d4f331f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const handleMouseMove = (event: MouseEvent) => {
if (!props.rangeState.selecting) return
let target = event.target as HTMLElement
if (target.tagName === 'A') {
if (target.tagName === 'SPAN') {
target = target.parentNode?.parentNode as HTMLElement
}
if (target.tagName === 'DIV') {
Expand Down

0 comments on commit d4f331f

Please sign in to comment.