Skip to content

Question: Row click not cancelable by child event stoppropagation? #50

Closed
@bay-jacewhitten

Description

@bay-jacewhitten

Hi there guys,

I was messing with the library and so far love it.

This is more of a question than a bug or issue, but I was not able to construct a way for the row click to be cancelled by the cell click. I can see my child cell is cancelling, but the row click never receives the stoppropagation call from the child element. And so the row click fires along with the cell click. I tried a few 'tricks' but had to move on for the sake of time, and just add the click event to certain cells, etc. Not super ideal, but is what it is.

My quick investigation lead down the path that the react synthetic events was not making it to the Row which is using native events. Wasn't able to quite confirm this, and still couldn't get the results I was expecting. I am using the composable table, so maybe there is something I am missing or not wiring up correctly?

Thanks in advance for any feedback or help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions