Giter VIP home page Giter VIP logo

Comments (6)

Karl-Xu avatar Karl-Xu commented on September 27, 2024

特别备注:原bug提交后给出了修复方案,但该方案尝试无用,因无法reopen issue,故不得已,又开了一个
image
原issue链接:#2849

from s2.

lijinke666 avatar lijinke666 commented on September 27, 2024

在官网能复现吗? 开启 supportCSSTransform 后, 1.x 和 2.x 一切正常, 你提供的 demo 和官网均未复现.

Kapture 2024-09-10 at 19 00 13

from s2.

Karl-Xu avatar Karl-Xu commented on September 27, 2024

我提供的demo可以复现,点击“笔”列下的“价格”功能正常,因为该点击范围还在原尺寸大小之下;请点击“纸张”列下的“价格”的小三角icon。那个icon超出了原有表格尺寸大小,所以被判定为不在渲染范围内了
vt8lw-3lr2e

from s2.

Karl-Xu avatar Karl-Xu commented on September 27, 2024

在官网能复现吗? 开启 supportCSSTransform 后, 1.x 和 2.x 一切正常, 你提供的 demo 和官网均未复现.

Kapture 2024-09-10 at 19 00 13 Kapture 2024-09-10 at 19 00 13

Hello,我提供的demo可以复现,点击“笔”列下的“价格”功能正常,因为该点击范围还在原尺寸大小之下;请点击“纸张”列下的“价格”的小三角icon。那个icon超出了原有表格尺寸大小,所以被判定为不在渲染范围内了
vt8lw-3lr2e

from s2.

lijinke666 avatar lijinke666 commented on September 27, 2024

supportCSSTransform 是生效了的, 看了下是 点击空白处重置交互 导致的, 可以先关闭 autoResetSheetStyle 规避

    const s2Options = {
      width: 600,
      height: 480,
      showDefaultHeaderActionIcon: true, // 默认打开
      supportCSSTransform: true,
+     interaction: {
+       autoResetSheetStyle: false
+     }
    };

由于外层有 transform, 导致判断 "是否点击了表格外区域" 有问题, 感兴趣的话可以来个 PR, 近期有点忙, 可能要晚一点修复

if (
this.isMouseOnTheTooltip(event) ||
this.isMouseOnTheCanvasContainer(event)
) {
return;
}

from s2.

github-actions avatar github-actions commented on September 27, 2024

你好 @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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.