openalloc / SwiftTabler

A multi-platform SwiftUI component for tabular data
Apache License 2.0
133 stars 13 forks source link

Hovered row needs to unhover if mouse cursor departs the table #35

Closed reedes closed 2 years ago

reedes commented 2 years ago

At present, the last hovered row remains hovered if the mouse cursor is no longer over the table.

Ideally it will unhover if cursor is no longer over any part of table.

This is similar to the select issue for Stacks and Grids (#34).

reedes commented 2 years ago

Reconsidered the entire hover implementation. Now just handled as callback, which the user can implement in a rowBackground or rowOverlay.