Table merge triggers mouseenter events multiple times

problem description

is developing a table that can merge and split cells, similar to excle. However, when using the mouseenter event, only the first time is triggered normally, and when the cell is selected the second time, the previous mouseenter events add up to trigger. Let"s go to the previous picture

.

the environmental background of the problems and what methods you have tried

clipboard.png

as shown in the figure, the mouseenter, is triggered for the first time, followed by a gradual accumulation of mouseenter events, resulting in more and more triggers. I tried adding mouseenter locks, but it didn"t seem to work.

Apr.05,2021

your title does not give an approximate Dom structure or which element the mouseenter event is bound to.
this phenomenon should be related to event bubbling. After the mouseenter of the internal element is triggered, it bubbles up, and the mouseenter of the parent element is triggered again.
another possibility is that mouseenter is bound many times for some reason and accumulates, and when the event is triggered, the phenomenon you are talking about will occur.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e64b-2b772.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e64b-2b772.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?