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

Course Owners/Tutors search box defocuses on input #61

Open
paulglx opened this issue Jun 18, 2024 · 1 comment · May be fixed by #62
Open

Course Owners/Tutors search box defocuses on input #61

paulglx opened this issue Jun 18, 2024 · 1 comment · May be fixed by #62
Assignees
Labels
bug Something isn't working

Comments

@paulglx
Copy link
Owner

paulglx commented Jun 18, 2024

To reproduce : on a course, go to the "Teachers" tab and type in either boxes.

@paulglx paulglx self-assigned this Jun 18, 2024
@paulglx paulglx added the bug Something isn't working label Jun 18, 2024
@paulglx paulglx linked a pull request Jun 21, 2024 that will close this issue
@paulglx
Copy link
Owner Author

paulglx commented Jun 21, 2024

The issue occurs because TeacherList re-renders when UserList changes. This doesn't happen in Students, although it seems like the implementation is the same.
The change is triggered by a hook marked as Anonymous with no significant data by React Profiler.

TODO : Investigate why the TeacherList props seem to change.

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

Successfully merging a pull request may close this issue.

1 participant