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

Bugfix #4

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Bugfix #4

wants to merge 2 commits into from

Conversation

FallBackITA27
Copy link
Contributor

Style of the Autocomplete boxes was wrong. Also small optimization, no need to calculate stuff when you can just store the value in a variable.

Style of the Autocomplete boxes was wrong. Also small optimization, no need to calculate stuff when you can just store the value in a variable.
Copy link
Owner

@AtishaRibeiro AtishaRibeiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe once you change your PR it will retrigger the checks? Not sure why they failed in the first place

msgeditor/page_functionality.js Outdated Show resolved Hide resolved
@@ -185,7 +185,7 @@ function autocomplete(inp, msg_arr, match_advanced=false) {
a = document.createElement("DIV");
a.setAttribute("id", e.id + "autocomplete-list");
a.setAttribute("class", "autocomplete-items");
a.setAttribute("style",`width:${e.parentNode.offsetWidth}px`);
a.setAttribute("style",`width:${e.parentNode.offsetWidth}px;position:relative;`); // Otherwise the div will end up way lower than the actual page. --FalB
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

@@ -185,7 +185,7 @@ function autocomplete(inp, msg_arr, match_advanced=false) {
a = document.createElement("DIV");
a.setAttribute("id", e.id + "autocomplete-list");
a.setAttribute("class", "autocomplete-items");
a.setAttribute("style",`width:${e.parentNode.offsetWidth}px`);
a.setAttribute("style",`width:${e.parentNode.offsetWidth}px;position:relative;`); // Otherwise the div will end up way lower than the actual page. --FalB
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

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

Successfully merging this pull request may close these issues.

2 participants