Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ComboBoxItem Issue in responsive mode

    Hi Isomorphic,

    please see this BuiltInDS testcase:

    Code:
    package com.smartgwt.sample.client;
    
    import com.google.gwt.core.client.EntryPoint;
    import com.smartgwt.client.core.KeyIdentifier;
    import com.smartgwt.client.util.Page;
    import com.smartgwt.client.util.PageKeyHandler;
    import com.smartgwt.client.util.SC;
    import com.smartgwt.client.widgets.form.DynamicForm;
    import com.smartgwt.client.widgets.form.fields.ComboBoxItem;
    import com.smartgwt.client.widgets.layout.VLayout;
    
    /**
     * Entry point classes define <code>onModuleLoad()</code>.
     */
    public class BuiltInDS implements EntryPoint {
    
        /**
         * This is the entry point method.
         */
        public void onModuleLoad() {
            KeyIdentifier debugKey = new KeyIdentifier();
            debugKey.setCtrlKey(true);
            debugKey.setKeyName("D");
    
            Page.registerKey(debugKey, new PageKeyHandler() {
                public void execute(String keyName) {
                    SC.showConsole();
                }
            });
    
            VLayout v = new VLayout();
            v.setWidth100();
    
            DynamicForm dF = new DynamicForm();
            ComboBoxItem cB = new ComboBoxItem();
    
            cB.setValueMap("Item 1");
            dF.setFields(cB);
            v.addMember(dF);
            v.draw();
    
        }
    }
    Setup:
    Browser: Google Chrome Version 70.0.3538.110 (64-Bit) (set to Responsive)
    SmartClient Version: v12.0p_2018-12-06/PowerEdition Deployment (built 2018-12-06)



    Click image for larger version

Name:	BugCB.gif
Views:	37
Size:	76.7 KB
ID:	256101


    As You can see in the video, if one clicks on the ComboBoxItem, it tries to open but disappears immediately. Are there settings that I'm missing?

    Thanks in advance

    Kind Regards

    #2
    We've committed a fix to SGWT/SC 12.0p and newer branches to resolve this. It will be in the nightly builds dated 2018-12-11 and beyond. We don't see the issue in older branches such as SGWT 6.1p/SC 11.1p.

    Comment

    Working...
    X