Hello Sley,

the attached code contains neither virtual keyboard, nor focus handling.
It's not clear, where the virtual keyboard comes into play.
Just by guessing: The problem could be in the custom type InputField, which is 
not attached.
Have a look at the FocusScope QML type. In essence, a focus scope has to be 
defined for the input field.
The virtual keyboard needs to be inside that focus scope, with its "focus" 
property set to "true".

If that doesn't solve the problem, post a topic in 
https://forum.qt.io<https://forum.qt.io/>
Reduce the reproducer to the bare (yet compilable) mimimum, and preferably 
eliminate the custom type.
Paste the code directly to the forum, using the code formatting tags.
Please also specify the Qt version used.

Cheers
Axel

________________________________
Von: Interest <interest-boun...@qt-project.org> im Auftrag von Sley HORTES 
<sleyhorte...@gmail.com>
Gesendet: Samstag, 27. Juli 2024 09:26
An: interest@qt-project.org <interest@qt-project.org>
Betreff: [Interest] Virtual keyboard hides input field

Hello Everyone!!

I have been trying to create a sign up window for a chat app using QML. The 
problem is When there’s a focus on an input field object, the virtual keyboard 
hides its visibility. I would like to know how to remediate to it.
Any thought Please ?

Here is a Module I had created. The **InputField** type is actually a custom 
module too.

<https://drive.google.com/file/d/1c8FwMq9imvfNd9DHoVaKIaMNGAaxTG6G/view?usp=drivesdk>
[Text file]
SignupWindow.qml.txt





_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to