Skip to content
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

Limit scrollbar height in overlays #10591

Open
danieldegroot2 opened this issue Dec 7, 2024 · 10 comments
Open

Limit scrollbar height in overlays #10591

danieldegroot2 opened this issue Dec 7, 2024 · 10 comments
Labels
good first issue Best for first-time contributors. No experience necessary!

Comments

@danieldegroot2
Copy link
Contributor

danieldegroot2 commented Dec 7, 2024

URL

No response

How to reproduce the issue?

Limit the height of the scrollbar in the (i.e. Custom Layer and Keyboard Shortcuts) overlay to the bottom of the header, as it is for other menu tabs.

Screenshot(s) or anything else?

image

image

image

Which deployed environments do you see the issue in?

Released version at openstreetmap.org/edit, Development version at ideditor.netlify.app, RapiD version at mapwith.ai/rapid

What version numbers does this issue effect?

2.30.4, 2.31.0-dev, RapiD 2.4.3

Which browsers are you seeing this problem on?

Chrome

@danieldegroot2 danieldegroot2 changed the title Limit scrollbar height in Keyboard Shortcuts menu Limit scrollbar height in overlays Dec 7, 2024
@kartik-212004
Copy link

Can you please tell me more about this issue? I'm interested in working on it and would appreciate being assigned to it.

@tyrasd tyrasd added the good first issue Best for first-time contributors. No experience necessary! label Dec 10, 2024
@tyrasd
Copy link
Member

tyrasd commented Dec 10, 2024

@kartik-212004 sure, give it a shot!

@Deeptanshu-sankhwar
Copy link
Contributor

I have reproduced the issue. Please let me know if you're still working on it @kartik-212004, if not then I'd raise a PR 😊

@kartik-212004
Copy link

Yeah sure u can do this issue, i am engaged with my uni exams

@Deeptanshu-sankhwar
Copy link
Contributor

Hi @danieldegroot2 @tyrasd I reorganized the modal structure in both uiConfirm and uiShortcuts by introducing a content-wrapper to group scrollable content and buttons under a single parent. Scoped scrolling was applied to the content-wrapper with dynamic height adjustments using CSS to ensure the header and footer remain static while maintaining responsiveness. This approach resolves layout and overlapping issues in the modal. Please let me know your thoughts on it whenever you can.
Thanks

@Deeptanshu-sankhwar
Copy link
Contributor

Screen.Recording.2024-12-19.at.10.51.43.PM.mov

Attaching a small clip here to show how it results out to be

@Darshit42
Copy link

hi @Deeptanshu-sankhwar , i want to help contribute in this issue , can you please tell me where did you start from , you can give me some minor changes and you can raise the final pr (are you on slack/discord it'll be great if you explain in brief 😅)

@Deeptanshu-sankhwar
Copy link
Contributor

Sure @Darshit42 , although I've raised the PR for now, but I'll fill you in on any feedback! Yes, I am on OSM slack, you can find me on #dev channel

@sahitya-chandra
Copy link

Hey @Deeptanshu-sankhwar, I was also contributing to the same issue but I was unable to understand the file structure of the repo because I generally code in react. Can you help me with some doubts ?? whenever you are free.
Please tell me where we can connect.

@Deeptanshu-sankhwar
Copy link
Contributor

I am not a maintainer or an early contributor for the project @sahitya-chandra, but I'll try to help and discuss in the best capacity I can. You can find me on OSM slack, on most of channels, like #dev channel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Best for first-time contributors. No experience necessary!
Projects
None yet
Development

No branches or pull requests

6 participants