-
Notifications
You must be signed in to change notification settings - Fork 197
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
Add the ability to search courses in the modal #5023
Conversation
@gabrielcaires I think I found another case where |
@Luchadores Please see the screen shots in the description. I set a fixed height of 300px on the box where the courses display to prevent the modal's height from growing / shrinking as the user searches for courses. |
Hey @donnapep 👋 Looks good!
Thank you 🙌 |
Oh interesting , I never saw this kind of usage before! 🎉 @donnapep I think this PR just be integrated with the PR #5017 instead of feature/student-management |
248d407
to
721df89
Compare
e1c390b
to
7546c28
Compare
Unfortunately, it doesn't work for me :( CleanShot.2022-04-17.at.01.46.45.mp4It looks like I get a response from WP, but it does not render the list. |
7546c28
to
53a9b6b
Compare
I had to move this back to Draft status a bit ago in order to get Gabriel's changes. I'm leaving it in Draft for now because the changes broke some things. |
cb62673
to
943c4b2
Compare
@gabrielcaires You may be annoyed by me. 😳 I removed the I opted to remove it since getting this PR moving felt more important than fixing the original React warning. I know you were looking into an alternate solution as well, so hopefully we can address it in a separate PR and find a solution that eliminates the original warning while also not impacting the search functionality. |
After the removal, Are you seeing warning messages related to run set state after components was unmounted? |
Yup, in the tests I do, and I'm aware that this was the original issue you were trying to fix. |
a3a3952
to
6c21b38
Compare
I'll create a new card for this since it's unrelated to this particular PR. I resolved the conflict though. |
Partial fix for #4959.
Changes proposed in this Pull Request
This PR adds the ability to search for specific courses in the modal.
Testing instructions
Screenshot / Video
Loading
No Courses
Course List