Comments (6)
特别备注:原bug提交后给出了修复方案,但该方案尝试无用,因无法reopen issue,故不得已,又开了一个
原issue链接:#2849
from s2.
在官网能复现吗? 开启 supportCSSTransform
后, 1.x 和 2.x 一切正常, 你提供的 demo 和官网均未复现.
from s2.
我提供的demo可以复现,点击“笔”列下的“价格”功能正常,因为该点击范围还在原尺寸大小之下;请点击“纸张”列下的“价格”的小三角icon。那个icon超出了原有表格尺寸大小,所以被判定为不在渲染范围内了
from s2.
在官网能复现吗? 开启
supportCSSTransform
后, 1.x 和 2.x 一切正常, 你提供的 demo 和官网均未复现.
Hello,我提供的demo可以复现,点击“笔”列下的“价格”功能正常,因为该点击范围还在原尺寸大小之下;请点击“纸张”列下的“价格”的小三角icon。那个icon超出了原有表格尺寸大小,所以被判定为不在渲染范围内了
from s2.
supportCSSTransform
是生效了的, 看了下是 点击空白处重置交互
导致的, 可以先关闭 autoResetSheetStyle
规避
const s2Options = {
width: 600,
height: 480,
showDefaultHeaderActionIcon: true, // 默认打开
supportCSSTransform: true,
+ interaction: {
+ autoResetSheetStyle: false
+ }
};
由于外层有 transform, 导致判断 "是否点击了表格外区域" 有问题, 感兴趣的话可以来个 PR, 近期有点忙, 可能要晚一点修复
S2/packages/s2-core/src/interaction/event-controller.ts
Lines 182 to 187 in 11bb92c
from s2.
你好 @Karl-Xu,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.
Hello, @Karl-Xu, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.
from s2.
Related Issues (20)
- 🐛下载格式化数据内容有,逗号的会在Excel中按逗号拆分成多个单元格,但是复制格式化数据就不会出现这种情况 HOT 1
- 🤔getContentHeight可以获取实际内容高度,那如何获取实际内容的宽度呀 HOT 1
- 🐛onContextMenu 回调参数与文档不符
- 🐛浏览器缩放导致表格模糊问题 HOT 2
- 🐛 导出方法 copyData 在有手动隐藏列的情况下,导出的数据中,对应隐藏列的数据依然被导出,导致与表头错位 HOT 1
- 🤔透视表:合并分组排序问题 HOT 1
- 🤔透视表:自定义列头;合并列头排序没有效果 HOT 5
- 🤔 透视表树模式自定义列总计展示异常 HOT 1
- 🐛透视表自定义列头分组
- 🐛透视表自定义表头时,导出的表头与表格不一致 HOT 3
- 🐛 expandDepth is not working in custom directory HOT 3
- 🐛透视表:自定义列头;合并的列头不显示排序图标,二级有排序图标但是没有排序效果 HOT 2
- 🤔树形结构的透视表能否对行维度父子维度同时排序?现状是只能对父节点的某字段排序或者子节点的某字段排序 HOT 2
- 🐛紧凑模式,手动拖拽减小列宽,字体直接溢出 HOT 2
- 🐛移动端 图表滚动问题 HOT 2
- 🙏s2-vue 有编辑表的需求,是否可以支持
- 1.x明细表拖拽行高受rowCell的padding影响 HOT 2
- 🤔想增加多行文本功能,版本从1.0.0升级到2.0.0-next.28后,高度及换行都不生效 HOT 2
- 🤔使用interactjs绑定自定义绘制的rect事件无法触发
- 🐛明细表在拖拽列宽后,会导致未被拖拽列的已自定义的列宽失效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s2.