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

Suggestions drawer does not scroll with screen content #98

Open
nrcrabbe opened this issue Aug 11, 2016 · 1 comment
Open

Suggestions drawer does not scroll with screen content #98

nrcrabbe opened this issue Aug 11, 2016 · 1 comment

Comments

@nrcrabbe
Copy link

Hi,

I have implemented this package into an Ionic hybrid app. Generally everything is great. However I have found that if the suggestions draw is open and the screen is scrolled (on both iOs and android devices) the drawer stays in the same position on the screen and the rest of the content scrolls. This in effect detaches the drawer from the input field.

Has anyone else had any issues with this on Ionic or otherwise? My gut feeling is that the <div g-places-autocomplete-drawer></div> is placed outside the <ion-content> so therefore Ionic doesn't scroll it.

Can I specify where the <div g-places-autocomplete-drawer></div> is placed on the page somehow? If I can specify it to be placed up the page and inside <ion-content>, I have a feeling it may fix my problem.

Cheers

@jakub-g
Copy link

jakub-g commented Nov 10, 2016

@nrcrabbe did you manage to have the widget working properly with ionic at all?

So far for me, when I tap the result on mobile, the popup with results disappears and data model is not populated with the data from Google. It only works correctly on desktop when I select an element by keyboard arrows.

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

2 participants