mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3280] [MERGED] fix: fix issues in displaying the suggestions menu on EnvInput #4323
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4323
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/3280
Author: @amk-dev
Created: 8/23/2023
Status: ✅ Merged
Merged: 8/23/2023
Merged by: @AndrewBastin
Base:
release/2023.8.0← Head:fix/issues-with-showing-env-input-suggestions📝 Commits (1)
f65c5b3fix: fix issues with click-outside on EnvInput📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
packages/hoppscotch-common/src/components/smart/EnvInput.vue(+3 -2)📄 Description
fixs HFE-148
Before
Suggestions menu was not displayed when the EnvInput was focused.
We had an
onClickOutsidehandler defined for suggestionsMenu, it hides the suggestions menu.But the input div was outside of this suggestions menu, causing the onClickOutside handler to run everytime someone clicked on the input div, which infact hid the suggestions menu.
After
Suggestions menu is displayed properly. moved the onClickOutside to target the
autoCompleteWrapperinstead of the suggestions menu.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.