Fix no horizontal scroll x for context menu for pages with horizontal scrolling
This commit is contained in:
parent
a42b0e4dfd
commit
4183b932af
@ -1692,7 +1692,7 @@ final public class InAppWebView extends InputAwareWebView implements InAppWebVie
|
|||||||
|
|
||||||
updateViewLayout(
|
updateViewLayout(
|
||||||
floatingContextMenu,
|
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() {
|
mainLooperHandler.post(new Runnable() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user