nextcloud / collectives

Collectives is a Nextcloud App for activist and community projects to organize together.
GNU Affero General Public License v3.0
95 stars 16 forks source link

fix(member): close actions menu when scrolling members #1505

Closed mejo- closed 3 days ago

mejo- commented 3 days ago

🏁 Checklist

Antreesy commented 3 days ago

container is needed to mount popover in specific place (useful for popover inside of modal to keep correct order): https://floating-vue.starpad.dev/api/#container

boundary (boundaries-element in NcActions) fits better here, but i haven't tested it yet with scrolling lists: https://floating-vue.starpad.dev/api/#boundary

mejo- commented 3 days ago

boundary (boundaries-element in NcActions) fits better here, but i haven't tested it yet with scrolling lists: https://floating-vue.starpad.dev/api/#boundary

That would probably be $parent.$parent.refs.memberPickerList (the div.member-picker-list element) in this case as it's the one that has the scroll container. Unfortunately passing this as :boundaries-element property to NcActions doesn't solve the problem at hand.