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

Language Selector Dropdown Expands Outside of the Tab #184

Open
prem-k-r opened this issue Nov 13, 2024 · 5 comments
Open

Language Selector Dropdown Expands Outside of the Tab #184

prem-k-r opened this issue Nov 13, 2024 · 5 comments

Comments

@prem-k-r
Copy link
Contributor

In the language selection area, the dropdown list for languages is expanding beyond the intended tab area.

Steps to Reproduce:

  • Go to the section with the language selector.
  • Click on the dropdown to open the list of languages.
  • Notice that the list goes outside the main area or tab.

What I Expected to Happen:
The dropdown list should stay within the tab/container area and allow scrolling if there are many options.

@prem-k-r
Copy link
Contributor Author

@XengShi can you please check this one. It seems like an easy CSS fix.

I tried following:
max-height: calc(100vh - 200px);
overflow-y: auto;
but it didn't work.

@itz-rj-here
Copy link
Contributor

@XengShi can you please check this one. It seems like an easy CSS fix.

I tried following: max-height: calc(100vh - 200px); overflow-y: auto; but it didn't work.

Uhh add a scroll bar on the language selector -_-

@XengShi
Copy link
Owner

XengShi commented Nov 18, 2024

We cannot fully customize the default tags in HTML, so we need to create a custom dropdown menu using

elements.

Below is the code for a custom dropdown menu that allows for full customization. However, integrating this into the extension will take some time.

style custom dropdown.html.txt

@prem-k-r
Copy link
Contributor Author

oh ok, so it's not straight forward

@itz-rj-here
Copy link
Contributor

Any fixes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants