Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(b-table, b-table-lite): handle edge case with row events when table is removed from dom. instantiate row event handlers only when listeners are registered (fixes #4384) #4388
Describe the PR
Fix issue with row-hovered/unhovered events where table is removed from DOM before the event processing gets a chance to finish.
PR also only emits row events if listeners are registered, reducing processing time for events that don't have listeners registered.
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
The PR fulfills these requirements:
If new features/enhancement/fixes are added or changed:
If adding a new feature, or changing the functionality of an existing feature, the PR's
@@ Coverage Diff @@ ## dev #4388 +/- ## ========================================== + Coverage 99.91% 99.91% +<.01% ========================================== Files 239 239 Lines 4617 4624 +7 Branches 1298 1300 +2 ========================================== + Hits 4613 4620 +7 Misses 3 3 Partials 1 1