Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Report bug use with event modifiers not work #564

Open
WormGirl opened this issue May 12, 2022 · 7 comments
Open

[BUG] Report bug use with event modifiers not work #564

WormGirl opened this issue May 12, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@WormGirl
Copy link

WormGirl commented May 12, 2022

🐛 Bug description

my project render by vue-cli

// this is not work
<DeleteFilled onClickStop={() => remove(file, actions)} />
// this  work  fine
<DeleteFilled  onClick={() => remove(file, actions)}/>

🏞 Desired result

🚑 Other information

@WormGirl WormGirl added the bug Something isn't working label May 12, 2022
@funny-family
Copy link

@WormGirl, can you provide repo/project example?

@WormGirl
Copy link
Author

@WormGirl, can you provide repo/project example?

You can clone this repo https://github.com/WormGirl/tsx-modifier-issue

@WormGirl
Copy link
Author

WormGirl commented May 24, 2022

And if you replace the AButton to native button at HelloWorld.tsx, you will get an typescript error.This maybe need to resolve too.

@funny-family
Copy link

funny-family commented May 24, 2022

@WormGirl, your solution and short answer is this. The long one I will give you a little bit latter. (I will try to do it today)

@WormGirl
Copy link
Author

sorry, I see. It's written in the document. I didn't read it carefully.

@funny-family
Copy link

funny-family commented May 24, 2022

@WormGirl, no worry. It was documented after some time. Also it is not easy to figure out in first place. Glad that I helped.

@funny-family
Copy link

solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants