GWT MenuItem loses focus after selection

自闭症网瘾萝莉.ら 提交于 2019-12-11 01:18:02

问题


I have a simple vertical one-dimensional menu. Menu items are not fix, they change dynamically according to data received from the server. (So I cannot write fix code for them.)

In css I declared selected MenuItem to be bold. My wish is simply to make the selected MenuItem remain bold after selection. But when I click it, it loses focus and the first MenuItem becomes bold.

How could that be fixed?

来源:https://stackoverflow.com/questions/14455796/gwt-menuitem-loses-focus-after-selection

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!