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

Task input field broken after #1 #2

Open
rohitghosal opened this issue Nov 21, 2021 · 10 comments
Open

Task input field broken after #1 #2

rohitghosal opened this issue Nov 21, 2021 · 10 comments

Comments

@rohitghosal
Copy link

Haptic typing bug found in android testing!!!

When I try to put input in the tasks area, after every letter input back button is automatically working and we have to retype it. Like system freezing.

@dimaportenko
Copy link

@vipulbhj I found out that #1 broke the app. It basically cause rerender whole list on any action. Check attached video

@craftzdog my suggestion revert changes meanwhile

telegram-cloud-document-4-5829978153640004256.mp4

@vipulbhj
Copy link
Contributor

vipulbhj commented Nov 23, 2021

That looks bad, let me check this and get a fix in. Thanks for reporting, and sorry for the bug 😅. I will send a PR like right now

@vipulbhj
Copy link
Contributor

vipulbhj commented Nov 23, 2021

Hey @rohitghosal @dimaportenko, I have created a PR and reverted the component which caused the issue, very sorry for the issue caused. Till this gets merged, you can just replace the task-list.tsx component with the code in the link below.

https://github.com/vipulbhj/react-native-animated-todo/blob/master/src/components/task-list.tsx

I will look into detail as to what actually caused the animation to re-render so many times. Thanks for reporting 🌻🌻🌻🌻🌻🌻

@dimaportenko
Copy link

Looks like works with 👆
@vipulbhj can you elaborate what was the issue? I was about to try Native Base, but now I'm doubt. I don't want to deal with such kinds of problems.

@vipulbhj
Copy link
Contributor

vipulbhj commented Nov 23, 2021

It was not NativeBase, I messed up the memorization 😅😅😅.

NativeBase doesn't have first party support for animations, so everything from other libraries was working fine. It was lack of experience with reanimated 2 that caused the issue.

I am shocked I didn't test this before sending the PR.

I guess human errors are harder to catch by humans 😅😅😅

I am sorry

@manuelduarte077
Copy link

Looks like works with 👆 @vipulbhj can you elaborate what was the issue? I was about to try Native Base, but now I'm doubt. I don't want to deal with such kinds of problems.

Well, I don't have any problem, everything is fine for me, I'm sure it's for something else, I already tried Native Base and I haven't had serious problems, well I haven't used it in complex things either

@craftzdog craftzdog changed the title ISSUES WITH TASK INPUT FIELD Task input field broken after #1 Nov 24, 2021
@vipulbhj
Copy link
Contributor

Hey all, we can close this issue now since the PR has been merged.

@craftzdog
Copy link
Owner

So, shouldn't we use Factory because it messes up memoization?

@vipulbhj
Copy link
Contributor

So, shouldn't we use Factory because it messes up memoization?

I am not sure that caused the issues, still looking into it, will give you a detailed feedback on this soon :)

@I-am-abdulazeez
Copy link

Hi, @vipulbhj Still waiting for this.

Thanks

So, shouldn't we use Factory because it messes up memoization?

I am not sure that caused the issues, still looking into it, will give you detailed feedback on this soon :)

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

6 participants