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

可否增加内容溢出屏幕自动偏移或限制浮层区域范围 #1

Open
39251474 opened this issue Jul 23, 2020 · 1 comment
Open

Comments

@39251474
Copy link

当浮出文字过长时会溢出屏幕看不见,是否可以增加个属性是否限制在屏幕内部?
当锚点在屏幕边缘时基本上浮层都会溢出屏幕,是否可以增加个属性让浮层自动偏移回屏幕内部?

@chenBingX
Copy link
Member

感谢你的建议,在后续的迭代中会考虑添加这一特性的。
目前,可以通过计算边界条件,然后通过 margin 参数修正偏移,达到效果哦

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

2 participants