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

AwesomeButtonProgress hanging after onPress #66

Open
uvdoctor opened this issue Jun 29, 2020 · 1 comment
Open

AwesomeButtonProgress hanging after onPress #66

uvdoctor opened this issue Jun 29, 2020 · 1 comment

Comments

@uvdoctor
Copy link

uvdoctor commented Jun 29, 2020

Hi,

Thanks a lot for the awesome library. I am trying to integrate with my NextJS Typescript project.

While AwesomeButton is working fine, AwesomeButtonProgress doesn't work. The button remains in pressed state, and the callback isn't invoked for some reason. Please help.

Here is the code for your reference:
...
<AwesomeButtonProgress type="primary" onPress={(element: any, next: Function) => {
id ? updateCallback(id, cfs) : addCallback(id, cfs)
setTimeout(() => next(), 500)}}>
....

Appreciate your help in advance.

Many Thanks,
Umang

@dinhnhobao
Copy link

dinhnhobao commented Feb 10, 2022

+1 I got the same issue

Edited: this is fixed in #69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants