Cyris
Cyris
I also encountered this problem, is there any latest solution? Thanks.
Same problem, the workaround works well, thanks.
期待更新。
我用的是这个方法:https://icyris.github.io/2017/07/12/blog-picture-issue/
的确现有的Gitment的教程对yilia的适配感觉不太好,评论区抵在了两边,跟文章区不太对应。
After set `nodeIntegration: true` and `contextIsolation: false`, the require failure issue is fixed, but i can't use ipcRenderer & ipcMain any more, it consoles: ``` Error: contextBridge API can only...
@erickzhao It works, thank u~ :D
> 按照fusion组件的设想,riddle里的表现就是正常表现,用户侧期望是什么样的呢? 比如图中贴的异常结果,弹层在一些小屏幕用户中,如果向上或向下都展示不下,fusion 会自动回退为默认展开方向,导致弹层右边和下边会超出屏幕外,用户会无法点击(即使把默认展开方向改为靠右对齐,也无法完全解决超出屏幕外的问题), 业务中我们已通过 onPosition 来计算调整弹层的位置,在弹层超出可视区时,自动调整弹层位置使得用户能够正常操作。 之前期望是 组件侧 能够在无法正常显示完整弹层时,自动调整合适的位置,而非直接回退默认展开方向,不过这个可能没法抽象成适用于所有业务的方法(比如有的场景希望组件头部能显示完全,有时又期望把尾部显示完全),目前业务中依靠 onPosition 已够用~如有补充可 reopen issue。
问题依旧存在... 不引入 Pro 组件的情况下,Button 的样式是正常的;但只要引入了 Pro 组件,用 ConfigProvider theme token 配置的形式配置的主题就会失效,会被 Pro 的样式资源覆盖掉。 ``` import { ConfigProvider, Button } from 'antd'; import { ProTable } from '@ant-design/pro-components'; // 去掉这行,Button 的样式就是正常的...