Skip to content

🐛 [Story page attachment] Navigate with click on swipeup remote#33656

Merged
mszylkowski merged 6 commits intoampproject:mainfrom
mszylkowski:swipeup_bug
Apr 16, 2021
Merged

🐛 [Story page attachment] Navigate with click on swipeup remote#33656
mszylkowski merged 6 commits intoampproject:mainfrom
mszylkowski:swipeup_bug

Conversation

@mszylkowski
Copy link
Copy Markdown
Contributor

@mszylkowski mszylkowski commented Apr 6, 2021

Closes #33709

Uses a.click() instead of navigator to open links on new tabs.

Demo at https://stories-demos-matias.web.app/examples/amp-story/attachment.html#page=page-3

@mszylkowski mszylkowski requested a review from gmajoulet April 6, 2021 17:41
@mszylkowski mszylkowski self-assigned this Apr 6, 2021
@mszylkowski
Copy link
Copy Markdown
Contributor Author

@gmajoulet I updated the demo and code to use click with the animation, PTAL

@gmajoulet gmajoulet marked this pull request as ready for review April 14, 2021 18:46
@amp-owners-bot
Copy link
Copy Markdown

amp-owners-bot bot commented Apr 14, 2021

Hey @gmajoulet, @newmuis, @Enriqe! These files were changed:

extensions/amp-story/1.0/amp-story-page-attachment.js
extensions/amp-story/1.0/amp-story-page.js

@newmuis
Copy link
Copy Markdown
Contributor

newmuis commented Apr 14, 2021

Do we have a good way of testing this besides just manual tests?

@mszylkowski mszylkowski requested a review from gmajoulet April 14, 2021 19:52
@mszylkowski
Copy link
Copy Markdown
Contributor Author

@newmuis not possible to test this automatically since it's an iOS issue

@gmajoulet
Copy link
Copy Markdown
Contributor

Have you checked if this works with the linker and the fix your wrote back then?

@mszylkowski
Copy link
Copy Markdown
Contributor Author

Swipe up doesn't work with the linker, but I created the issue #33860 to track it

@mszylkowski
Copy link
Copy Markdown
Contributor Author

@choumx Waiting for the iOS team to test the updated demo story, and I'll merge as soon as they confirm it's all fine

@mszylkowski mszylkowski merged commit f19ff64 into ampproject:main Apr 16, 2021
@mszylkowski mszylkowski deleted the swipeup_bug branch April 16, 2021 21:17
ampprojectbot pushed a commit that referenced this pull request Apr 18, 2021
* Make changes

* Click other anchor

* Use click instead of navigation service

* Removed firebase debug

* Renamed to match other elements

(cherry picked from commit f19ff64)
rochapablo pushed a commit to rochapablo/amphtml that referenced this pull request Aug 30, 2021
…roject#33656)

* Make changes

* Click other anchor

* Use click instead of navigation service

* Removed firebase debug

* Renamed to match other elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remote page attachments broken on iOS webviews

4 participants