louisdh / textor

A plain text editor for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrolling is broken in 1.1

LeoNatan opened this issue · comments

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.

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)?

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

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.

Thanks