-
Notifications
You must be signed in to change notification settings - Fork 347
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 patient details button is jumping when we open advanced patient filters #4353
Comments
@rithviknishad I think converting the hook to a component should fix it, what are ur thoughts? |
@khavinshankar I understood the problem. I should make sure I stop inlining components 😅 Btw, do you mean to refactor out the ExportMenu, ExportButton, and _CSVLink outside of the hook? Or to create two components ExportMenu, and ExportButton that replicates the functionality of the useExport hook inside it? |
@rithviknishad something of that sort |
@khavinshankar I think it should work, but I wonder how it also affects the add patient details button too? |
The buttons seem to be jumping on several screens when the sidebar is opened 2022-12-19_23-50-57.mp4 |
Describe the bug
In the patients' list page, the add patient details button is jumping when we open Advanced Filters.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It shouldn't jump.
Screenshots
output.mp4
The text was updated successfully, but these errors were encountered: