Eilon / MauiHybridWebView

MIT License
202 stars 40 forks source link

keyboard does not shown on textboxes #59

Closed Efthymios closed 3 months ago

Efthymios commented 3 months ago

Hi Eilon,

First of all i want to thank you for the control you have created. I am encountering an issue with the keyboard not appearing when interacting with text boxes using MauiHybridWebView. I am using an external url not a static web page inside the project.

Please advice.

Thank you in advance. Efthymios

Efthymios commented 3 months ago

i found the issue and now it works.

peterblazejewicz commented 3 months ago

Please close the issue, thx!

Synthaxe42 commented 3 months ago

@Efthymios, would you mind sharing what you did to fix the issue, so that others who might have the same issue can track this. Cheers.

Efthymios commented 3 months ago

Hi Eilon,

Thanks a lot for your response.

The issue was on my code. I put the control in a refreshview and if the IsEnabled is set to false

The keyboard is not shown.

<RefreshView

  x:Name="refreshViewID"

  Refreshing = "OnRefreshViewRefreshing">

  <hwv:HybridWebView

      x:Name="myHybridWebView"

      BackgroundColor="{StaticResource BgColorWebview}"

      HorizontalOptions="FillAndExpand"

      Navigated="myHybridWebView_Navigated"

      VerticalOptions="FillAndExpand" />

Best Regards,

Efthymios Argyrou

I.T. Manager

Alt-àVie Ltd

Mob: +357 99694191

www.altavie.com.cy

altavie-logo

From: Synthaxe42 @.*** Sent: 10 April 2024 09:40 To: Eilon/MauiHybridWebView Cc: Efthymios; Mention Subject: Re: [Eilon/MauiHybridWebView] keyboard does not shown on textboxes (Issue #59)

@Efthymios https://github.com/Efthymios , would you mind sharing what you did to fix the issue, so that others who might have the same issue can track this. Cheers.

— Reply to this email directly, view https://github.com/Eilon/MauiHybridWebView/issues/59#issuecomment-2046636477 it on GitHub, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5VF5RHIZ3KTU7G3W7VTLY4TNC3AVCNFSM6AAAAABF4E2QU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGYZTMNBXG4 . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AAH5VF437Z2NPRYHQY4PDYLY4TNC3A5CNFSM6AAAAABF4E2QU6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZ7UY32.gif Message ID: @.***>

Efthymios commented 3 months ago

Hi,

I had put the hybridwebview inside a refreshview.

And if the isenabled property is set to false the keyboard is not shown on textboxes.

Best Regards,

Efthymios Argyrou

I.T. Manager

Alt-à-Vie Ltd

Mob: +357 99694191

www.altavie.com.cy

logoAltAVie

From: Joe @.*** Sent: Wednesday, April 10, 2024 3:34 AM To: Eilon/MauiHybridWebView Cc: Efthymios; Mention Subject: Re: [Eilon/MauiHybridWebView] keyboard does not shown on textboxes (Issue #59)

@Efthymios https://github.com/Efthymios what did you do to resolve the issue? I experience the same thing when text boxes are close to the bottom of the screen. I was expecting the native keyboard to act like the new bottom of the screen and push up the DOM but it just hides it.

image.png (view on web) https://github.com/Eilon/MauiHybridWebView/assets/20806837/b0555ea7-644b-4eb1-955a-3be6474f300d

and then when you activate the keyboard it doesn't push up the input field image.png (view on web) https://github.com/Eilon/MauiHybridWebView/assets/20806837/e87453ff-94ff-4082-a0d6-b410b18d8294

However, when you access the app through Chrome (or whatever) it behaves as expected which moves up the input field

— Reply to this email directly, view it on GitHub https://github.com/Eilon/MauiHybridWebView/issues/59#issuecomment-2046247973 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH5VF5QI24ZDS4O6YO6LM3Y4SCHNAVCNFSM6AAAAABF4E2QU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBWGI2DOOJXGM . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AAH5VF3XXGBBRGCWSVGE3D3Y4SCHNA5CNFSM6AAAAABF4E2QU6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTZ65CCK.gif Message ID: @.***>