Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.75k stars 1.57k forks source link

On Click actions for Containers don't work #14767

Closed mikesealey closed 3 weeks ago

mikesealey commented 1 month ago

Checklist

Hosting

Describe the bug On Click actions can be set for a container, but they never get triggered.

To Reproduce Steps to reproduce the behavior:

  1. Add a container (set a background color for ease of use)
  2. Add an on click action of Show Notification (add a message)
  3. Preview, and click the container

Expected behavior On click actions should run when container is clicked

Screenshots Jam Screencap

App Export Click-export-1728638904067.tar.gz

Desktop (please complete the following information):

Additional context Issue is present in Grid and Flex layouts. Cursor does not change when hovering over a container with an on-click action set.

linear[bot] commented 1 month ago

BUDI-8727 On Click actions for Containers don't work

aptkingston commented 1 month ago

Just to clarify the issue only happens for grid layout containers. The parent container layout type does not matter - only the layout setting on the container itself. A flex container works as expected, but a grid container doesn't (click even support was missing from the implementation). Will push a fix now 👍