Announcement

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

    Safari: wrong disabled textItems color

    SmartClient Version: SNAPSHOT_v12.1d_2019-05-27/AllModules Development Only (built 2019-05-27)

    Safari on OSX

    Hello, I've just noticed that disabled textItems have pale text (instead of dark text) in Safari (Stratus and Tahoe skins):

    Click image for larger version

Name:	2019-05-28 10.01.39.jpg
Views:	57
Size:	3.7 KB
ID:	257943

    Code:
    isc.DynamicForm.create({
        ID: "form1",
        width: 620,
        disabled:true,
        colWidths: [190, "*"],
        fields: [
            {name: "text", title:"Text", type:"text", defaultValue: "A plain text field"},
            {name: "foo",title: "select", type: "select", defaultValue:"Option 1",
             valueMap: ["Option 1", "Option 2"]}
        ]
    });

    #2
    This is due to a Safari browser bug which causes text to be rendered as white in some situations regardless of its specified color from the style sheets. We observed this earlier, and were able to correct the initially observed problems with CSS changes that had no impact on other browsers, but to work around the problem in the case you report, we'll need to make Safari-specific changes to the style sheets upon skin load.

    Comment


      #3
      We've applied a workaround for this browser bug to SC 12.0 and newer branches. It only seems to impact our new flat skins, and only in SC 12.0+. The change is in today's nightly build, dated 2019-05-31, for SC 12.1d, and will be in tomorrow's nightly build, dated 2019-06-01 for SC 12.0.

      Comment


        #4
        SmartClient Version: SNAPSHOT_v12.1d_2019-06-04/AllModules Development Only (built 2019-06-04)

        I can confirm it's fixed, thank you very much.

        Comment

        Working...
        X