1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-22 12:22:08 +01:00

Disabled nested scrolling in webview. Fixes #28

This commit is contained in:
vanitasvitae 2016-08-02 22:02:15 +02:00
parent 49ba5ca2da
commit 1a0e295aeb
2 changed files with 1 additions and 1 deletions

View file

@ -281,6 +281,7 @@ public class MainActivity extends AppCompatActivity
this.registerForContextMenu(webView); this.registerForContextMenu(webView);
webView.setParentActivity(this); webView.setParentActivity(this);
webView.setOverScrollMode(WebView.OVER_SCROLL_ALWAYS); webView.setOverScrollMode(WebView.OVER_SCROLL_ALWAYS);
webView.setNestedScrollingEnabled(false);
// Setup WebView // Setup WebView
//TODO: Dangerous on API < 17. Can we do anything about this? //TODO: Dangerous on API < 17. Can we do anything about this?

View file

@ -44,7 +44,6 @@ import com.github.dfa.diaspora_android.activity.MainActivity;
import com.github.dfa.diaspora_android.task.ImageDownloadTask; import com.github.dfa.diaspora_android.task.ImageDownloadTask;
import java.io.File; import java.io.File;
import java.sql.Time;
/** /**
* Subclass of WebView which adds a context menu for long clicks on images or links to share, save * Subclass of WebView which adds a context menu for long clicks on images or links to share, save