amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-selector + amp-bind issues

Open mofidsky opened this issue 8 years ago • 7 comments

hi we have carousel in witch when clicking on one image the other should update. we used the regular set state to set the other image source. everything works fine on desktop and android devices but not on ios devices. here the link for the page, test with ios please

mofidsky avatar Oct 28 '18 12:10 mofidsky

I have the same problem in all browsers. It may work the first time, but if you refresh the page, it looks like amp-bind is disabled. Example Link This was working fine until Version: 1810091721120 released 19 days ago Update amp-selector doc with support for disabled

plarentnasto avatar Oct 28 '18 13:10 plarentnasto

@mofidsky I can't reproduce. That said, the implemented UX is confusing and possibly wrong. The selector tabs (div.tabButton) that change the displayed page are invisible:

screen shot 2018-10-29 at 6 59 29 pm

@teksteshqip I also can't reproduce this on desktop (Chrome, Safari) or mobile (Safari). I also tried refreshing the page several times on each browser.

For both bugs:

  • Which browser/platform/AMP version are you reproducing this on?
  • Can you attach a video showing how to reproduce the bug?

dreamofabear avatar Oct 29 '18 23:10 dreamofabear

@choumx Here is a video reproducing the bug Broswers where I tried: Desktop: Chrome, IE, Firefox IOS mobile: Safari, Chrome, UC Browser I couldn't find a browser where this was working after this AMP version: 1810091721120 If you clear browser's cache, amp-bind will work and it usually will be disabled after you submit the form.

plarentnasto avatar Oct 30 '18 11:10 plarentnasto

@teksteshqip Thanks for the repro video. Are you refreshing the browser at 0:32? If so, I still can't reproduce this on Chrome 70 desktop or Safari iOS 12 with AMP version 1810281911260.

dreamofabear avatar Oct 30 '18 16:10 dreamofabear

Hi @choumx Yes I refresh at 0:32. I keep trying this in all browsers (also in Chrome 70 desktop or Safari iOS 12) and it happens just like in the video. Please try 2-3 times submiting the form and then refreshing the page. I don't know why clearing browser's cache is the only way to make setState work.

plarentnasto avatar Oct 30 '18 17:10 plarentnasto

Hi @choumx
the problem only exist in IOS devices like iphone (iphone 7 - ios version 11.0.3) so i have created a video showing the problem on ios even the problem does not exist on android devices. video link

mofidsky avatar Oct 31 '18 13:10 mofidsky

Sorry guys, it's still not clear to me what the issue is.

dreamofabear avatar Jan 11 '19 00:01 dreamofabear