Skip to content

[Bug] 如果最后一列是vue自定义组件渲染,并且pointerEvents: true,表格的滚动条就无法点中 #5157

@goldenfireking

Description

@goldenfireking

Version

1.26.1

Link to Minimal Reproduction

Steps to Reproduce

<ListTable
ref="tableRef"
:options="tableOptions"
:records="tableData"
@on-initialized="handleInitialized"
@on-selected-cell="handleSelectedCell"
>

<template
v-if="col.customRender || col.customComponent"
#customLayout="{ table, row, col: colIdx, rect, record, height, width }"
>



Current Behavior

最后一列是自定义vue组件,并且开启了pointerEvents: true,生成的vue组件元素盖在canvas上,pointerEvents: true导致滚动条点击不到,如果关闭pointerEvents,vue组件就无法交互

Expected Behavior

pointerEvents: true的情况下,滚动条能够点中

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions