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
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.