inkle / ink

inkle's open source scripting language for writing interactive narrative.
http://www.inklestudios.com/ink
MIT License
4.07k stars 489 forks source link

page stuck at top when clicking one of long options near the bottom #827

Open apflu opened 1 year ago

apflu commented 1 year ago

Hi, i've been searching in the issues, but i find no duplicate till now. Please forgive me if there is one.

detailed cannot scroll down. If there is no option in the screen, the story won't be able to continue. But if we click the options at front, it works well and won't jam the scrolling.

environment: Chrome 111.0.5563.57 OS: Android 11; 2201116SG Build/RKQ1.211001.001

scope:

starting at the 5th option(of the test file), the problem reproduces.

test file:

-> load_1

= load_1

* (L1_PfE)Lorem ipsum dolor sit amet, 
* (L1_Pfd)consectetur adipiscing elit, 
* (L1_TiR)sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 
* (L1_TjN)Nisi lacus sed viverra tellus in hac habitasse platea dictumst. Luctus venenatis lectus magna fringilla urna porttitor rhoncus.Nisi lacus sed viverra tellus in hac habitasse platea dictumst. Luctus venenatis lectus magna fringilla urna porttitor rhoncus.
* (L1_0ff)Sit amet aliquam id diam maecenas ultricies mi eget mauris. Viverra tellus in hac habitasse platea Sit amet aliquam id diam maecenas ultricies mi eget mauris. Viverra tellus in hac habitasse platea Sit amet aliquam id diam maecenas ultricies mi eget mauris.
* (L1_FRR)Cras ornare arcu dui vivamus arcu felis bibendum ut tristique. Nec ullamcorper sit amet risus. Cras ornare arcu dui vivamus arcu felis bibendum ut tristique. Nec ullamcorper sit amet risus. Cras ornare arcu dui vivamus arcu felis bibendum ut tristique. Nec ullamcorper sit amet risus. 
* (L1_Ral)Lacinia at quis risus sed vulputate odio ut. Commodo ullamcorper a lacus

* (recall)rewind[rewind]
+ (completed)done
done lorem
->->

- -> load_1