You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we use RMB on a cell from the same row that the header the isSelectedByRowHeader value is not updated.
Steps to reproduce
Open the console
Use RMB on 2 row header (index 1)
Use RMB on cell F2
Result
You see 'Custom option 1' in the menu
Expected result
You see 'No available options'
You can see that it doesn't matter how many times you open the context menu for cells in the 2nd row (index 1) you always get true in the console as a result of the isSelectedByRowHeader() check.
Same as #7271, this is how the selection should work. When something is selected then RMB is not changing the selection. The context menu opens for the already selected range. Otherwise, it wouldn't be possible to open a context menu for a range, it would reset instantly to a single cell.
Description
When we use RMB on a cell from the same row that the header the
isSelectedByRowHeader
value is not updated.Steps to reproduce
F2
Result
You see 'Custom option 1' in the menu
Expected result
You see 'No available options'
You can see that it doesn't matter how many times you open the context menu for cells in the 2nd row (index 1) you always get
true
in the console as a result of theisSelectedByRowHeader()
check.Demo
https://jsfiddle.net/AMBudnik/3q0d2go5/ 8.0.0 (broken)
https://jsfiddle.net/AMBudnik/s4ua8mec/ 7.4.2 (broken)
Relates issues
Your environment
The text was updated successfully, but these errors were encountered: