UI: Mobile keyboard fixes, safe area padding, & more

This commit is contained in:
Luke Street
2026-04-30 00:06:27 -06:00
parent b86d6e90e2
commit 4a12554bf4
8 changed files with 152 additions and 11 deletions
+3 -1
View File
@@ -24,12 +24,14 @@ protected:
virtual void set_value(Rml::String value) = 0;
private:
void focus_input();
void stop_editing(bool commit = true, bool refocusRoot = false);
Rml::ElementFormControlInput* mInputElem = nullptr;
std::vector<std::unique_ptr<ScopedEventListener> > mInputListeners;
Rml::String mType;
int mMaxLength;
int mPendingInputFocusFrames = 0;
bool mPendingStopEditing = false;
bool mPendingCommit = true;
bool mPendingRefocusRoot = false;
@@ -59,4 +61,4 @@ private:
std::function<void(Rml::String)> mSetValue;
};
} // namespace dusk::ui
} // namespace dusk::ui