framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.13k stars 3.23k forks source link

Bug in photoBrowser index 0 #2778

Closed DennisStudent closed 6 years ago

DennisStudent commented 6 years ago

No images are loaded when the index is 0.

myPhotoBrowserPage.open(0);

But myPhotoBrowserPage.open(); works fine.

My temporary solution: if(index > 0 ){ myPhotoBrowserPage.open(index); } else { myPhotoBrowserPage.open(); }

The temporary solution does not work if you clicked index > 0 before.

Use Version 3.4.2

nolimits4web commented 6 years ago

Can't see such issue. Would be good to see JSFiddle or example with the issue

DennisStudent commented 6 years ago

http://jsfiddle.net/9q623bgm/1/

nolimits4web commented 6 years ago

Passed index must be a number http://jsfiddle.net/hqgwy9jt/