Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Fix sticky behavior in Safari #525

Merged
merged 3 commits into from
Aug 2, 2019
Merged

Fix sticky behavior in Safari #525

merged 3 commits into from
Aug 2, 2019

Conversation

Marc-Andre-Rivet
Copy link
Contributor

@Marc-Andre-Rivet Marc-Andre-Rivet commented Aug 2, 2019

@alinastarkov found -webkit-sticky, just adding it and fixing a (would be) regression on fixed columns (when transparent)

@chriddyp chriddyp temporarily deployed to dash-table-review-pr-525 August 2, 2019 00:53 Inactive
@chriddyp chriddyp temporarily deployed to dash-table-review-pr-525 August 2, 2019 00:54 Inactive
Copy link
Contributor

@alinastarkov alinastarkov left a comment

Choose a reason for hiding this comment

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

💃 💃

@@ -436,6 +437,10 @@
background-color: rgb(250, 250, 250);
}

.dash-spreadsheet-inner td {
background-color: white;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this have a visual impact?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No. A style was applied on tr and was removed which caused issues with fixed columns (columns content was visible as it was scrolled under the fixed ones). Adding it back on td instead.. just because that way it's on cells.. and since everything is otherwise applied on cells, ever so slightly cleaner. There's no real difference between applying that style on tr or td in the end.

@Marc-Andre-Rivet Marc-Andre-Rivet merged commit bb290b6 into master Aug 2, 2019
@Marc-Andre-Rivet Marc-Andre-Rivet deleted the 259-sticky-safari branch August 2, 2019 18:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants