Replies: 1 comment 1 reply
-
It happens because the size/height of the controls in your column is bigger than the grid's If you place the button/dropdown above the image you will notice that they are clickable, as they will be in the clickable region provided to it by the grid/column. To fix your issue, you can do the following:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Duplicate Check
Describe the bug
If
GridView
has a child container, and in that container is a clickable control (e.g.Dropdown
,Button
) and anImage
, the clickable control can not be clicked. If theImage
is removed, clicking works as expected.This only happens when either
runs_count
ormax_extent
options are set onGridView
.Also I could not reproduce this if
GridView
is changed toRow
Code sample
Code
If
runs_count
ormax_extent
options are removed, orft.GridView
is changed to e.g.ft.Row
, the issue disappearsTo reproduce
GridView
with eitherruns_count
ormax_extent
options setGridView
, add e.g.Column
as child controlColumn
, addImage
, andButton
or other clickable controlExpected behavior
Clickable controls should always work as GridView children
Screenshots / Videos
Operating System
Linux
Operating system details
Rocky Linux 9.3
Flet version
0.26.0
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
No response
Additional details
No response
Beta Was this translation helpful? Give feedback.
All reactions