Skip to content
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

CSS position property not working as intended for Vue/React based nodes in Safari #3167

Open
harshaktg opened this issue Jan 27, 2023 · 3 comments
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions

Comments

@harshaktg
Copy link

Describe the bug

While adding CSS position property to any element within the Vue/React node, it renders fine in Chrome. But in Safari, it's not working as intended. The element is placed at the beginning.

Your Example Website or App

https://codesandbox.io/s/vue-shape-forked-s6x9nz?file=/src/components/Count.vue

Steps to Reproduce the Bug or Issue

Please open the below sandbox in both chrome and safari to spot the differences

Vue based nodes

React based nodes

Expected behavior

Ideally it should work as expected in chrome

Screenshots or Videos

image

image

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

@NewByVector
Copy link
Contributor

This is a bug in safari. See here for details and solutions.

@NewByVector NewByVector added the type: discussion 讨论 Usage questions, guidance, and other discussions label Feb 2, 2023
@yangstart
Copy link

I also met ,it renders well in others,but not well in ios

@Damon99999
Copy link

this problem is confusing me and struggling me
bro, did u solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: discussion 讨论 Usage questions, guidance, and other discussions
Projects
None yet
Development

No branches or pull requests

4 participants