apache / apache/royale-asjs

Problems with mx:Menu position on PopupButton click.

Open
#968 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

Hello,

I'm using the mx emulation to port an existing application to Royale JS.
I'm using mx.controls.PopUpButton to display a menu on click.
The position at which the mx.controls.Menu appear change based on the menu widths.
The larger is the menu is the offset. It's as if the offset is equal to the menu's width.

As examples, here the button clicked is "PHARMACIE"
![large offset](https://user-images.githubusercontent.com/74671462/100647303-99ba1f00-333f-11eb-9f62-de68e0a0920a.JPG)

And here it is "SOIN"
![small offsetJPG](https://user-images.githubusercontent.com/74671462/100647307-9aeb4c00-333f-11eb-8719-959ff6bbff4c.JPG)

I haven't been able to identify the problem yet. And can't say if it comes from Menu, or PopUpButton.

Also as it is my first post here, i'll use this opportunity to thank you all for your great job with this project.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.