8000 fix: Safari sidebar animation #5765 by lampy255 · Pull Request #5766 · outline/outline · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Safari sidebar animation #5765 #5766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 3, 2023

Conversation

lampy255
Copy link
Contributor
@lampy255 lampy255 commented Sep 3, 2023
  • Add Safari browser detect func in utils
  • Apply display:block to right sidebar only on Safari Desktop

Fixes bug that would cause sidebar contents to not display sometimes on Safari #5765

- Add Safari browser detect func in utils
- Apply display 'block' to right sidebar only on Safari Desktop
@auto-assign auto-assign bot requested a review from tommoor September 3, 2023 05:34
@tommoor
Copy link
Member
tommoor commented Sep 3, 2023

Nice, I don't really want browser detection hacks though, the maintenance burden is too high. If display block works then why not apply it across all browsers?

@lampy255
Copy link
Contributor Author
lampy255 commented Sep 3, 2023

Yeah good point. I've removed the browser detection, and used 'Display: block' across the board. Seems to be working fine in Chrome and Safari.

Copy link
Member
@tommoor tommoor left a comment

Choose a reason for hiding this comment

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

I'm surprised this works, but it does!

@tommoor tommoor merged commit 0261e07 into outline:main Sep 3, 2023
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.

2 participants
0