Hey guys, I used your framework phonejs recently, when I want to make a toolbar menu in empty views, I seems menu text will show up twice in this demo: phonejs toolbarDemo
I use it like this:
homeToolbarItems = [ { location: 'menu', text: 'Logout',clickAction:logout }, { location: 'center', text: '人员列表' }];
and the menu shows 'Logout' twice,what can I do?
We have closed this ticket because another page addresses its subject:
dxActionSheet renders duplicated items when initially displayeddxToolbar renders duplicate items in Simulator
Answers approved by DevExpress Support
Hello guys,
This issue has been already resolved in the context of the following thread:
dxActionSheet renders duplicated items when initially displayed
Please try the Hot Fix from that thread - an intermediate build, which can be downloaded and installed prior to the official release date.
Hello Yang,
Thank you for pointing us to this issue. I have tested it and found that it is related to dxToolbar directly. So, I have passed this problem to our developers for further research. Please bear with us.
My pleasure. : ) When there is a fix way, please tell me. Thx.
Hello Yang,
We've just published a hotfix. Please find it in the following ticket:
dxActionSheet renders duplicated items when initially displayed
Thx a lot~! I will try it now~!
It seems there is something error in this hotfix. There is an extra blank sheet in my app. Here is the shotcut. What can I do~?
And here is the code :
AppNamespace.view_home = function(){
showActionSheet = function () {
homeViewModel.actionSheetVisible(true);
};
var homeViewModel = {
actionSheetVisible :ko.observable(false),
actionSheetData : ko.observable([{text:"Logout", clickAction: function(){ logout();}}]),
homeToolbarItems:[
{ location: 'right', widget: 'button', options: { icon: 'preferences', clickAction: showActionSheet }},
{ location: 'center', text: '人员列表' }
]
};
return homeViewModel;
};
This bug also can be found in phonejs demo:
http://phonejs.devexpress.com/Documentation/ApiReference/Widgets/dxActionSheet?version=13_2
Yang,
>>This bug also can be found in phonejs demo:
You can see the issue in this demo, because it uses the official PhoneJS version, not a HotFix.
At the same time, I have tried to reproduce the issue with the HotFix, without success. Would you please modify the attached project so that I can see the problem locally?
So when is this going to be fixed & released?