Auto-Plugin / autofit.js

autofit.js 迄今为止最易用的自适应工具
https://auto-plugin.github.io/index/autofit.js/
MIT License
1.48k stars 153 forks source link

feat: :sparkles: support attribute selector to fix popper.js element position #74

Closed hellorayza closed 2 weeks ago

hellorayza commented 2 weeks ago

for some element which position decide by popper.js , such as dropdown menu in antd and element-plus . We can enhance the ignore's CSS selector to solve position deviation question.

LarryZhu-dev commented 2 weeks ago

感谢,这是可行的,正确的解决了偏移问题,但是 popper.js 的弹出层没有跟随缩放,而是被 ignore 保持了原始大小。 我将在 Merge 你的贡献后寻求其他解决办法,同时期待你的下一个 idea

LarryZhu-dev commented 2 weeks ago

大佬看到后可以给个好友位吗,向你学习