issues Search Results · repo:Auto-Plugin/autofit.js language:TypeScript
Filter by
72 results
(114 ms)72 results
inAuto-Plugin/autofit.js (press backspace or delete to remove)在我的实际使用过程中,效果很好,但是对于百度地图,使用这个插件会导致地图事件热区漂移,即使我已经使用了ignore这个特性,依然存在问题
1. 忽略缩放的元素无法占满父容器
2. 在解决第一个问题后,我发现作为背景的百度地图服务在作为背景时,即inset:0是工作的很好,但是在弹窗中,地图事件热区偏移依然存在
占满父容器的解决方案
解决第一个问题的我选择监听父容器的缩放后宽高去设置忽略容器的宽高 ...
MshengYang
- Opened 8 days ago
- #105
https://github.com/Auto-Plugin/autofit.js/blob/7a52a341ea7313bb06b55f23b28af4964567c001/src/index.ts#L203C3-L204C60
const clientHeight = document.documentElement.clientHeight;
const clientWidth = ...
question
AprildreamMI
- 1
- Opened on Jun 20
- #104
在Vue2的项目中(适配了IE浏览器的)在添加屏幕自适应的时候使用autofit.js报错了,这个错误是因为 autofit.js 的模块格式与 Vue CLI 的打包配置不兼容导致的 permission.js:15
ReferenceError: exports is not defined at eval (autofit.cjs.js:10:23) at
./node_modules/.pnpm/autofit.js@3.2.8/node_modules/autofit.js/dist/autofit.cjs.js ...
milletpeak
- 1
- Opened on Jun 10
- #103
https://github.com/Auto-Plugin/autofit.js/blob/4b044cd4db25e1cddbf8165e305419a27f8c766a/src/index.ts#L135
Cheerwhy
- 2
- Opened on Apr 18
- #97
img width= 132 alt= Image src= https://github.com/user-attachments/assets/1d9a97be-0bdb-4ce1-8498-a74f31b46cc4 /
fuxiaochen
- 1
- Opened on Mar 4
- #91
aotufit.js会在body和app元素中都注入overflow:hidden样式,为使页面滚动我设置了#app { overflow: auto !important;
},由此引发的问题是使用遮罩后,页面仍可滚动,没办法动态切换overflow的值了。请问怎么解决?autofit能否不自动注入hidden?
question
VenchiBai
- 1
- Opened on Dec 26, 2024
- #82

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.