Skip to content

afterShow and afterHide should not swallow the trigger event #406

Closed
@cjzcpsyx

Description

@cjzcpsyx

for the event callbacks: afterShow and afterHide
should pass the original event in the callback
https://github.com/wwayne/react-tooltip/blob/master/src/index.js#L344
https://github.com/wwayne/react-tooltip/blob/master/src/index.js#L378
Into
afterShow(e) and afterHide(e)

I can create PR if people think this is valid

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