[yew-devel] applied: [PATCH yew-widget-toolkit v2] widget: dropdown: update picker placement after showing
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Dec 20 16:03:57 CET 2024
On 20/12/2024 11:31, Dominik Csapak wrote:
> It seems that under certain circumstances (e.g. a dropdown in a dialog)
> updating the position of the picker before it's opened (it's a
> popover) does not work properly in safari/webkit/epiphany.
>
> When trying to open such a dropdown, it (or some parts of it) would
> be rendered with a height of 0px, even though the elements have
> a height set explicitly.
>
> To fix this, update the picker placement after opening it. What exactly
> is the cause (e.g. if it's a browser bug or our css/aligning) is yet to
> be determined.
>
> This fixes an issue on webkit (tested with epiphany) that opening
> dropdowns in a dialog did not show the dropdown properly.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> src/widget/dropdown.rs | 14 ++++++++------
> 1 file changed, 8 insertions(+), 6 deletions(-)
>
>
applied, with Maximiliano's T-b and also the comment slightly extend for
why this is done, thanks!
More information about the yew-devel
mailing list