Closed sandeepsajan0 closed 19 hours ago
@theskumar Can you please look into choice.js selectable dropdowns issue? Other things like UI shift and close via htmx event have been fixed but I couldn't find a way yet to put those dropdowns on the top of the dialog box.
I've started an alternate implementation that fixes the choices.js overflow issue, and also has some other goodies. There were some hard-choices b/c of which I had to let go <dialog>
, more on it to come later, i.e. either the dropdown in the dialog will be visible or the dialog will have proper scrolling, we need to have both.
Right now, I'm going over each of the modal and make sure they work as expected. I've updated the pattern of modal creation and closing to be more simpler.
You can checkout locally and compare a diff with main at https://github.com/HyphaApp/hypha/compare/enhancement/gh-3991-htmx-dialog-alt?expand=1
Superseded by https://github.com/HyphaApp/hypha/pull/4053
closing this PR
Fixes #3391
https://github.com/HyphaApp/hypha/assets/23638629/64b6babe-ff0f-4b98-a880-7517a6207887
Before:![image](https://github.com/HyphaApp/hypha/assets/23638629/36906fc4-c933-4381-9df5-5c4840a2e62b)
After:![image](https://github.com/HyphaApp/hypha/assets/23638629/79d4c02b-a3a6-42d3-abe2-31c029f2d9b8)
Test Steps