Skip to content

Overflow prevents position:sticky#1551

Open
ste101 wants to merge 1 commit intobenjaminkott:masterfrom
ste101:patch-1
Open

Overflow prevents position:sticky#1551
ste101 wants to merge 1 commit intobenjaminkott:masterfrom
ste101:patch-1

Conversation

@ste101
Copy link
Copy Markdown

@ste101 ste101 commented Mar 4, 2025

Pull Request

I tried to set a table header to position:sticky but it didn't work.
I found out that a overflow:hidden prevents this.
After changen

.section {
  overflow: hidden;
}

to

.section {
  overflow: clip;
}

it worked.

Are there any drawbacks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant