FFloat, although simple and easy to use, can satisfy all your imagination of the floating layer.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
39251474 opened this issue 4 years ago · comments
当浮出文字过长时会溢出屏幕看不见,是否可以增加个属性是否限制在屏幕内部? 当锚点在屏幕边缘时基本上浮层都会溢出屏幕,是否可以增加个属性让浮层自动偏移回屏幕内部?
感谢你的建议,在后续的迭代中会考虑添加这一特性的。 目前,可以通过计算边界条件,然后通过 margin 参数修正偏移,达到效果哦