Skip to content
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

When click on emoji button keyboard is open but edit text is not show emoji keyboard is overlap the edit text. #758

Open
KrunalStrategyX opened this issue May 5, 2022 · 12 comments

Comments

@KrunalStrategyX
Copy link

image

@vanniktech
Copy link
Owner

Can you reproduce in the sample app?

@KrunalStrategyX
Copy link
Author

KrunalStrategyX commented May 5, 2022

Can you reproduce in the sample app?

I was already try that. also this is happen in Samsung device A-52

@KrunalStrategyX
Copy link
Author

image

@vanniktech If you have removed this bottom view resolved this issue.

@vanniktech
Copy link
Owner

Can you find a way how to do that? I don't have that device at hand so I can't try it out

@KrunalStrategyX
Copy link
Author

I was manual hide bottom bar of keyboard

@SySagar
Copy link

SySagar commented Jun 4, 2022

is this bug solved?

@KrunalStrategyX
Copy link
Author

is this bug solved?
Yes If you hide manually keyboard bottom bar

@hoangchungk53qx1
Copy link

@KrunalStrategyX can you share that code?

@KrunalStrategyX
Copy link
Author

@KrunalStrategyX can you share that code?

I have change keyboard setting manual not programmatically

@erengms
Copy link

erengms commented Oct 10, 2022

ongoing issue, is there a solution ?

@androidsaver
Copy link

All samsung devices facing this issue

@chim0380
Copy link

chim0380 commented Jan 27, 2025

This error exist on Samsung in Guesture Navigation mode.Emoji keyboard is overlap the edit text

Image

On Pixel 7 Emoji keyboard is overlap bottom buttons

Image

I fixed this problem on both divices and both navigation mode so:

EmojiPopup has OnSoftKeyboardOpenListener and updateKeyboardStateOpened method

EmojiPopup emojiPopup =  new EmojiPopup( rootView, .......  ,

 new OnSoftKeyboardOpenListener() {
                    @Override
                    public void onKeyboardOpen(int i) {

                            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
                                Insets insets = rootView.getRootWindowInsets().getInsets(WindowInsets.Type.systemGestures());

                                if (insets.left > 0) { // exist gesture insets
                                     if( i > insets.bottom)){
                                           emojiPopup.updateKeyboardStateOpened$emoji_release(i - insets.bottom); // decriment bottom 
                                     }

                                }
                            }
                        }

                }
,......);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants