-
Notifications
You must be signed in to change notification settings - Fork 745
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
Overrides prop default flipping behaviour #12015
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks correct to me. Thanks @kafukoM.
I'll however add a blocker as this should only be merged after learningequality/kolibri-design-system#586 is merged and a new kds npm package published. Also, the KDS version in your pr should be updated accordingly before the merge.
@MisRob please be sure to let me know whenever the npm release from this fix is ready so this can be updated and merged as well. Thanks
Build Artifacts
|
@akolson I will release it by the beginning of next week |
Thanks @MisRob! |
Hi @kafukoM, could you please update the KDS version of this pr to 3.1.1 so we can have manual QA on it? kolibri/kolibri/core/package.json Line 24 in 3490eac
|
Please remember to run |
Hello @akolson. I have made the requested changes to the package.json file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks correct me. Tagging QA to have a look before the merge. Thanks @kafukoM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kafukoM - I confirm that this is implemented as specified and there are no issues observed while manually testing the drop-down.
Summary
This pull request extends the enhancements introduced in the recent KDS component update addressing this issue (learningequality/kolibri-design-system#432). It adjusts the constrainToScrollParent prop of the KDropdownMenu component within Kolibri. Previously, we updated the KDropdownMenu in the KDS repo to support a new prop allowing for more flexible dropdown positioning. This PR leverages that enhancement in Kolibri by setting constrainToScrollParent to false for a specific instance (Facility Settings template) of KDropdownMenu, ensuring that the dropdown always displays downwards, improving UX under specific layout conditions.
…
References
Issue in KDS - learningequality/kolibri-design-system#432
PR in KDS - learningequality/kolibri-design-system#586
…
Reviewer guidance
Steps to test
…
Testing checklist
PR process
Reviewer checklist