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

处理边缘位置调整的方案需要更加智能 #15

Open
chenyong opened this issue Dec 2, 2019 · 0 comments
Open

处理边缘位置调整的方案需要更加智能 #15

chenyong opened this issue Dec 2, 2019 · 0 comments

Comments

@chenyong
Copy link
Member

chenyong commented Dec 2, 2019

目前是通过 guessHeightwidth 做一些简单的探测, 如果没有探测, 就会默认超出屏幕边缘. 考虑加上一个属性, 开启在 didMount 时对位置自动做纠正的逻辑. 业务使用时不会考虑这么多, 还是加个自动的方案会好一些.

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

No branches or pull requests

1 participant