maqetta/maqetta — Issue #1636: Exception if putting a class on a Menu within MenuBar
Author: JonFerraiolo
Created: 2012-01-25 21:10:15+00:00
State: open
Labels: Priority High, Widget Libraries

@peller

* New HTML File
* Add a MenuBar, enter these values:
```
aa
bb
cc
```
* Click to select the "cc" entry in the MenuBar (this is a PopupMenuBarItem widget)
* In properties palette, enter "zzz" for class attribute

Result=> Exception at PopupMenuItem.js:18 within the guts of Dojo because this.popup.domNode is null.

I can imagine that fixing this might be complex. The user who ran into this bug had the ultimate objective of assigning a 'float:right' property to the 3rd menu so that it would be right-justified. The user's goal was to have the 3rd menu item be right-justified, but every more to the point, he wants to put the 'float:right' property in a CSS style rule within app.css using the cascade UI in the Properties palette.