I am seeing the following behavior when I click on the date control icon that is embedded in a section stack header: Clicking on the date icon causes the section to also collapse/expand. This only happens on IE11. Firefox and Chrome still work as expected: They bring up the Date chooser without causing the section to either collapse or expand. Is this a broken behavior, or is there an additional setting I need to set on the Date item?
SmartGWT version:SmartClient Version: SNAPSHOT_v11.1d_2017-05-05/LGPL Development Only (built 2017-05-05)
GWT verion:2.8.1
Standalone test case:
SmartGWT version:SmartClient Version: SNAPSHOT_v11.1d_2017-05-05/LGPL Development Only (built 2017-05-05)
GWT verion:2.8.1
Standalone test case:
Code:
public void onModuleLoad() { HTMLFlow htmlFlow = new HTMLFlow(); htmlFlow.setOverflow(Overflow.AUTO); htmlFlow.setPadding(10); String contents = "<b>Severity 1</b> - Critical problem<br>System is unavailable in production or " + "is corrupting data, and the error severely impacts the user's operations." ; htmlFlow.setContents(contents); final SectionStack sectionStack = new SectionStack(); sectionStack.setVisibilityMode(VisibilityMode.MULTIPLE); sectionStack.setWidth(300); sectionStack.setHeight(350); SectionStackSection section1 = new SectionStackSection("Section 1"); section1.setExpanded(true); section1.addItem(htmlFlow); sectionStack.addSection(section1); SectionStackSection section2 = new SectionStackSection("Section 2"); section2.setExpanded(true); section2.setCanCollapse(true); // section2.addItem(htmlFlow); sectionStack.addSection(section2); DynamicForm form = new DynamicForm(); m_asofDate = new DateItem("asofDate", "");//form.makeDateItem("asofDate",""); m_asofDate.setUseTextField(true); m_asofDate.setUseMask(true); m_asofDate.setDateFormatter(DateDisplayFormat.TOJAPANSHORTDATE); m_asofDate.setWidth(130); m_asofDate.addChangedHandler(new ChangedHandler() { @Override public void onChanged(ChangedEvent event) { } }); form.setFields(new FormItem[] {m_asofDate}); section1.setControls(form); HLayout layout = new HLayout(); layout.setMembersMargin(20); layout.addMember(sectionStack); layout.draw(); }
Comment