-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Labels
Description
Migrated from WICG/spatial-navigation#114
Originally created by @jihyerish on Thu, 11 Oct 2018 08:34:46 GMT
The distance function in the spec which measures the distance between two elements causes unexpected focus movement.
It needs to consider:
- Multiple candidate elements are adjacent to the starting point element (currently focused element)
- Transformed elements
- The element with rounded corner
So the function needs some experiment for getting the more reasonable result and simplifying.
Also, the function in the polyfill doesn't match exactly with the spec; it needs to be fixed.