RangeSelector can't lose focus

Posted by: itmaor on 3 February 2018, 11:22 pm EST

    • Post Options:
    • Link

    Posted 3 February 2018, 11:22 pm EST

    I think there’s a bug in v10.3.2 with the rangeSelectMode.

    When you click to select a range and then select a new range - you can’t click outside and lose focus. The editable div always remains in focus and that’s a problem because I want to be able to listen to a FocusOut event and I can’t. Also, from the users’ perspective, this behavior is unexpected and not natural. Users should be able to click outside and focus on another DOM element.

    Please see a demo on: https://jsfiddle.net/d4d3s0w8/5/

    Thanks!

    As a side note - you mention in your documentation that rangeSelectMode works with input and textarea in addition to editable div. I don’t think it works with input and textarea.

  • Posted 5 February 2018, 1:21 am EST

    Hello,

    I have tested this issue with SpreadJS v11.0.2 and it seems to be working fine. Please refer to attached sample.

    Thanks,

    Deepak SharmaSpreadJSFormulaBar.zip

  • Posted 5 February 2018, 5:09 pm EST

    Hello,

    Thanks for your response. I’m having a hard time testing what you sent since you’re referring to the SpreadJS v11 library which I don’t have locally.

    Is there a CDN link to v11 that you can share? possibly a CDN link that I can use on JSFiddle like the one I used in my example above?

    Thank you!

  • Posted 6 February 2018, 6:17 pm EST

    Hello,

    Here are the CDN links for Spread.Sheets v11.0.2:

    
      <link href="http://cdn.grapecity.com/spreadjs/hosted/css/gc.spread.sheets.excel2013white.11.0.2.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="http://cdn.grapecity.com/spreadjs/hosted/scripts/gc.spread.sheets.all.11.0.2.min.js"></script>
        <script src="http://cdn.grapecity.com/spreadjs/hosted/scripts/interop/gc.spread.excelio.11.0.2.min.js" type="text/javascript" type="text/javascript"></script>
        
    
    

    Thanks,

    Deepak Sharma

  • Posted 7 February 2018, 7:58 am EST

    Deepak -

    No, it is not working with v11. This CDN doesn’t work in JSFiddle so I can’t create another demo for you, but when tested locally it still doesn’t work. Please follow the steps carefully - after you change the selected range, clicking anywhere doesn’t take the focus away from the editable div.

    Can you please try? I’d be happy to demo in JSFiddle if you can help me make the CDN link work there.

    Thank you!

    Itay

  • Posted 7 February 2018, 8:36 pm EST

    Hello,

    I am able to replicate this issue at my end. I have submitted it as a bug to the development team for v11.0. I will let you know as soon as I get an update on this.

    The bug id for this issue is 254283.

    Thanks,

    Deepak Sharma

  • Posted 7 February 2018, 10:59 pm EST

    Thank you

  • Posted 27 February 2018, 8:58 pm EST

    Any update?

  • Posted 28 February 2018, 7:35 pm EST

    I’ve inquired for an ETA on this issue from our dev team and will inform you as soon as I get any information.

  • Posted 11 March 2018, 6:16 pm EST

    Still no ETA?

  • Posted 13 March 2018, 1:45 am EST

    Hello,

    We have not got any ETA on this yet, I have asked for the same from development team. I will let you know as soon as I get an update on this.

    Thanks,

    Deepak Sharma

  • Posted 12 June 2018, 8:55 pm EST

    Hello,

    Your issue has been fixed in latest bi-weekly build which can be downloaded from this link:-

    http://cdn.grapecity.com/spreadjs/11.1.2/Files/SpreadJS.Release.11.1.2.zip

    Thanks,

    Reeva

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels