-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add inappbrowser reposition and resize attributes #756
base: master
Are you sure you want to change the base?
Add inappbrowser reposition and resize attributes #756
Conversation
Hi, We had to change the way we resize the iab window for it to work. The basic idea is within this code:
|
@PDLMobileApps The changes were tested on a simple app with some different components behind the browser dialog to test the ability to interact with them while the browser is still visible. When I tested it with the editable fields, I noticed this keyboard issue and it was fixed by adding the
However, for the gravity, it was assigned as follows
to make sure that the dialog's (X & Y) positions will start from the top left corner (not just from the top edge) |
Any update on this PR? |
Any update? |
@hamzasharuf 0dc9492 doesn't seem to work for me. Any ideas? |
I've tried it on multiple Android & IOS devices with different versions and it seems to work perfectly. |
@hamzasharuf could you please help with how to include x, y, width and height values in "option" string ? It doesn't seem to be working for me with the way i include these value as below : - I also tried by adding insertCSS() method like below but that doesn't work either Dear Author - Basically, I would like to know whether I can resize the in-app browser in such a way that some part of my app-screen(e.g. header/footer) must stay as it is and in-app browser should just open in the app screen itself. -- is this possible ? |
Are there any updates on this? Is this going to be merged soon? I would really like to use the new features! |
I've just tried to reposition the IAB with the option |
Doesn't seem to work for me neither. Keyboard just wont pop up, doesn't matter what I do. Did you get it to work? I'm kinda struggling. Edit: Test Device: Pixel 4a, Android 11 |
I am looking for a same thing. Any updates? |
Platforms affected
Android & IOS
Motivation and Context
Closes #668
This feature was required by some developers to make the InappBrowser positionable and resizable so that they have the flexibility to position the webview in a specific location on the screen. The feature was mentioned in issue #668
Description
The added feature allows the developers to add a custom position to the InappBrowser to be positioned in a specific x & y location on the screen as well as specifying the width and height with the ability to interact with any content beneath.
Checklist
(platform)
if this change only applies to one platform (e.g.(android)
)