Skip to content

[work in progress] feedback link - #234

Closed
katydecorah wants to merge 7 commits into
version4from
v4-feedback-draft
Closed

katydecorah wants to merge 7 commits into
version4from
v4-feedback-draft

Conversation

@katydecorah

Copy link
Copy Markdown
Contributor
  • briefly describe the changes in this PR
  • write tests for all new functionality
  • run npm run docs and commit changes to API.md
  • update CHANGELOG.md with changes under master heading before merging

This PR adds a search feedback link. This feature can be disabled by passing feature: false to the geocoder.

image

Appending the link to the results has been challenging because:

  1. ul.suggestions is absolutely positionedh
  2. ul.suggestions clears children as the user types
  3. suggestions closes the results once the user moves focus from the input, which means when you try to click the feedback link the results close before you can click and the feedback link travels on the page and then you can click it.

We were able to overcome 1 + 2 by adding a wrapper to suggestions. However, I'm still having an issue with 3.

I'm not sure yet if the solution is in gl-geocoder or suggestions.

Katy DeCorah added 7 commits March 21, 2019 13:46
* version4:
  Update documentation with [email protected]
* version4:
  reset this.lastSelected on clear (#224)
  [v4] style updates (#211)
  [v4] create collapsed option (#222)
  fixes double moveend event #131
@katydecorah katydecorah mentioned this pull request Mar 22, 2019
@katydecorah katydecorah changed the title [work in progress][v4] feedback link [work in progress] feedback link Mar 22, 2019
@katydecorah

Copy link
Copy Markdown
Contributor Author

closing this for now since it didn't make it to the initial v4 release and it's quite a bit behind master now

@katydecorah katydecorah closed this Apr 9, 2019
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.

1 participant