Announcement

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

  • claudiobosticco
    replied
    I can confirm that it seems fixed, thank you very much

    Leave a comment:


  • Isomorphic
    replied
    We've now made a change to workaround this issue. Please try the next nightly build, dated Nov 12 or above and let us know if you continue to encounter problems

    Thanks
    Isomorphic Software

    Leave a comment:


  • Isomorphic
    replied
    Thanks for the clear test case and additional information.
    What's going on here is that the double click dismisses the Windows file selection interface before mouse up, then the browser natively receives a mouseUp event, which causes the Window to auto-dismiss due to the dismissOnOutsideClick flag
    We're investigating how best to resolve this issue and will follow up when we have more information for you

    Regards
    Isomorphic Software

    Leave a comment:


  • claudiobosticco
    replied
    Hello, just to add some other browser with the same behaviour (same OS):
    - Firefox Developer Edition 94.0 Beta 9 (20211021185848)
    - Microsoft Edge Version 95.0.1020.30 (Official Build) (64 bit)

    Leave a comment:


  • modal window (with fileItem) is dismissed when double clicking on chosen file

    SmartClient Version: v12.1p_2021-10-22/AllModules Development Only (built 2021-10-22)

    Chrome 95.0.4638.54 (64 bit)

    Windows 10 Pro (21H1)

    Hello, please modify this sample:
    https://www.smartclient.com/smartcli...ase/?id=upload

    like this:
    Code:
    isc.Window.create({
        isModal: true,
        autoSize: true, autoCenter: true,
        dismissOnOutsideClick: true,
        items: [
            isc.DynamicForm.create({
                autoDraw: false,
                ID: "uploadForm", width: 300,
                dataSource: mediaLibrary,
                fields: [
                    {name: "title", required: true},
                    {name: "image", type: "file", multiple: false, hint: "Maximum file size is 5 MiB"},
                    {
                        title: "Save", type: "button",
                        click: function () {
                            this.form.saveData("if(dsResponse.status>=0) uploadForm.editNewRecord()");
                        }
                    }
                ]
            })
        ]
    }).show()
    then choose a file by double clicking on it: the modal window will be dismissed.

    It works with Chrome on MacOS.
Working...
X