Skip to content

fix(SelectRange): Fix frozen column width calculation#4802

Open
xxxace wants to merge 3 commits into
tabulator-tables:masterfrom
xxxace:fix-selectrange-frozen-column-width
Open

fix(SelectRange): Fix frozen column width calculation#4802
xxxace wants to merge 3 commits into
tabulator-tables:masterfrom
xxxace:fix-selectrange-frozen-column-width

Conversation

@xxxace
Copy link
Copy Markdown

@xxxace xxxace commented Sep 10, 2025

  • Adjust z-index of range selection element for proper display
  • Fix calculation to consider all occupied frozen columns

- Adjust z-index of range selection element for proper display
- Fix calculation to consider all occupied frozen columns
@xxxace
Copy link
Copy Markdown
Author

xxxace commented Sep 10, 2025

#4801

this.rangeManager.overlay.style.zIndex = 10;
} else {
// - z-index 11: Selection occupies at least one frozen column (ensures visibility above other elements)
this.rangeManager.overlay.style.zIndex = 11;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we remove this, please? Increasing the z-index from css should be enough. No need to conditionally assign a style here.

@azmy60 azmy60 added the PR Needs Work The PR is a good idea, but needs some updates before it can be merged label Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR Needs Work The PR is a good idea, but needs some updates before it can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants