louisdh / textor

A plain text editor for iOS
MIT License
585 stars 113 forks source link

Scrolling is broken in 1.1 #9

Closed LeoNatan closed 6 years ago

LeoNatan commented 6 years ago

Hey!

Very cool app!

Scrolling seems to be broken with 1.1. On a new document or a short one, it’s not possible to scroll at all, and thus not possible to dismiss the keyboard.

louisdh commented 6 years ago

If I understand you correctly, you're saying that scrolling works fine when there's text that doesn't fit the screen. But scrolling to dismiss the keyboard doesn't work when there's no text offscreen (and thus no scroll bar)?

LeoNatan commented 6 years ago

Yes, exactly. It's one of the properties on UIScrollView that controls this. I think it's alwaysBounceVertical.

LeoNatan commented 6 years ago

It is exactly that:

If this property is set to YES and bounces is YES, vertical dragging is allowed even if the content is smaller than the bounds of the scroll view. The default value is NO.

louisdh commented 6 years ago

Fixed e866a6938bec5592b3d0584eabe4939a665f9d2f

LeoNatan commented 6 years ago

Thanks