From 255f7294d387d65bbc56c0f8af84f7fa2f3cfdfa Mon Sep 17 00:00:00 2001 From: embeddedt <42941056+embeddedt@users.noreply.github.com> Date: Wed, 23 Jun 2021 17:32:41 -0400 Subject: [PATCH] docs(keyboard) add note regarding event handler --- docs/widgets/extra/keyboard.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/widgets/extra/keyboard.md b/docs/widgets/extra/keyboard.md index 087b3ed77..cca729245 100644 --- a/docs/widgets/extra/keyboard.md +++ b/docs/widgets/extra/keyboard.md @@ -54,6 +54,13 @@ Keep in mind that using following keywords will have the same effect as with the The keyboard has a **default event handler** callback called `lv_keyboard_def_event_cb`, which handles the button pressing, map changing, the assigned text area, etc. You can remove it and replace it with a custom event handler if you wish. +```eval_rst +.. note:: + In 8.0 and newer, adding an event handler to the keyboard does not remove the default event handler. + This behavior differs from v7, where adding an event handler would always replace the previous one. +``` + + Learn more about [Events](/overview/event). ## Keys