Skip to content

Handle short Click to Load placeholders more consistently #360

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

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

kzar
Copy link
Contributor

@kzar kzar commented Mar 29, 2023

When Click to Load placeholders are displayed inside a short parent
element, we take care to make the placeholder shorter and display an
extra button in the header. There were two code-paths for this, let's
combine them and also take care to check that
placeholder.parentElement exists.

When Click to Load placeholders are displayed inside a short parent
element, we take care to make the placeholder shorter and display an
extra button in the header. There were two code-paths for this, let's
combine them and also take care to check that
placeholder.parentElement exists.
@kzar kzar requested a review from franfaccin March 29, 2023 14:10
@kzar kzar requested a review from ladamski as a code owner March 29, 2023 14:10
Copy link
Contributor

@franfaccin franfaccin left a comment

Choose a reason for hiding this comment

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

LGTM ✅

@kzar kzar merged commit c9434d2 into duckduckgo:main Mar 31, 2023
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