Bilbosax commented on issue #1074: URL: https://github.com/apache/royale-asjs/issues/1074#issuecomment-777164084
Still trying to get to the bottom of this. I am confident that it is not a cache issue because I opened the index.html file in four different browsers and all four performed the same. I created a simple "Hello World" app and put a ToggleBarButton in it and it performed as expected, and I placed one inside of TDJ, and it worked as expected. So something small, somewhere, is happening in my app and I am probably going to have to build it component by component from scratch until I find it, but I have NO IDEA what it could be because I am simply not that clever. I will say that I have noticed another small problem with ToggleButtonBar that may have gone unnoticed. When I placed one in TDJ and in my simple "Hello World" app, it does not have a default "selected" state, and I could not create one. So on startup, no button is selected in the ToggleBarButton, and I can't do something like toggleButtonBar.selectedIndex = 1 to force it to select a button. Only a click on a button whose selectedIndex was not zero worked. I could not click the first button and get it to select. Once the second button was clicked, then everything worked as expected. The ToggleBarButton should default to a selectedIndex of 0 unless otherwise specified, or should be able to be selected by setting the selectedIndex to any accetable value. Now to figure out what I am doing wrong on my end... ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
