Merge pull request #1504 from lrorpilla/horizontal_scrolling_context_menu_fix
Fix no horizontal scroll x for context menu for pages with horizontal…
This commit is contained in:
commit
fa6d00adf5
|
@ -1703,7 +1703,7 @@ final public class InAppWebView extends InputAwareWebView implements InAppWebVie
|
|||
|
||||
updateViewLayout(
|
||||
floatingContextMenu,
|
||||
new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT, curx, ((int) cury) + getScrollY())
|
||||
new LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT, curx + getScrollX(), ((int) cury) + getScrollY())
|
||||
);
|
||||
|
||||
mainLooperHandler.post(new Runnable() {
|
||||
|
|
Loading…
Reference in New Issue