Announcement

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

    SelectItem behavior question

    Hi,

    We observed a weird behavior for SelectItem: Horizontal and Vertical scrollbars are shown when they are not needed.

    We are using SmartClient v8.3p_2014-01-24/PowerEdition, and this issue can only be reproduced by using IE 9 when we set the "Browser Mode" to be "IE8" or "IE9" and the "Document Mode" to be "IE7 Standards". We are wondering whether it is an issue or not.

    Please try the following code:
    Steps to reproduce:
    Click the Select Item picker, the scroll bars are shown. (If not, click the picker to show the list again). If we use the default "Browser Mode" and "Document Mode" combination on IE9, this behavior cannot be seen.

    Thanks!

    Code:
    isc.DynamicForm.create({
        width: 500,
        numCols: 4,
        fields : [{
            name: "orderType", width: 135, showTitle:false,
            defaultToFirstOption:true,
            _constructor:"SelectItem",
            valueMap : {"N":"Install New Service","M":"Move Service","A":"Add Service","C":"Change Service","D":"Disconnect Service"}
        }]
    });

    #2
    This isn't a supported configuration (because IE9 is basically broken in this state - you have discovered one symptom). Use HTML5 DOCTYPE and do not ask IE9 to emulate older browsers.

    Comment


      #3
      Thanks for your help!

      Comment


        #4
        Hi,

        We have a rare chance that this issue may happen with the default browser settings: "Browser Mode: IE9" and "Document Mode: Quirks".

        We cannot introduce the html5 doctype to IE9 since we observed when the browser is using compatibility view, sometimes the alignment of the listgrid header and listgrid records are broken (The document mode is automatically changed to "IE7 Standards" with the html5 flag and in the compatibility view).

        Do you have any ideas about this?

        Thanks!

        Comment


          #5
          Sorry, we're not clear on what you mean that there is a "rare chance".

          For IE9 we support HTML5 DOCTYPE only, not quirks mode, and we don't support meta tags or manual user changes to Compatibility View. These modes cannot be meaningfully supported because of bugs in IE9.

          Comment


            #6
            Thanks for the replay. We now apply the html5 doctype to our product but in some case we can still see the scroll bars while we have browser zoom. Please see the attachment with browser zoom 125%.

            Please try the following standalone.
            Code:
            <!DOCTYPE html>
            <HTML><HEAD><TITLE>SelectItem Standalone</TITLE>
                <SCRIPT>var isomorphicDir = "isomorphic/"</SCRIPT>
                <SCRIPT SRC=isomorphic/system/modules/ISC_Core.js></SCRIPT>
                <SCRIPT SRC=isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
                <SCRIPT SRC=isomorphic/system/modules/ISC_Containers.js></SCRIPT>
                <SCRIPT SRC=isomorphic/system/modules/ISC_Grids.js></SCRIPT>
                <SCRIPT SRC=isomorphic/system/modules/ISC_Forms.js></SCRIPT>
                <SCRIPT SRC=isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
            	<SCRIPT SRC=isomorphic/skins/Enterprise/load_skin.js></SCRIPT>
            </HEAD><BODY CLASS="pageBackground">
            
            
            <SCRIPT>
            isc.DynamicForm.create({
                width: 500,
                numCols: 4,
                fields : [{
                    name: "orderType", width: 135, showTitle:false,
                    defaultToFirstOption:true,
                    _constructor:"SelectItem",
                    valueMap : {"N":"Install New Service","M":"Move Service","A":"Add Service","C":"Change Service","D":"Disconnect Service"}
                }]
            });
            
            </SCRIPT></BODY></HTML>
            Steps to reproduce:
            1. Zoom the browser to be 125% (in this standalone we reproduce this issue with 125% but in our real product we reproduce this issue with 150%)
            2. Click the picker to show the drop down list.

            Thanks!
            Attached Files

            Comment


              #7
              See FAQ - browser zoom is also unsupportable - too many browser bugs.

              Comment

              Working...
              X