Error scrolling to top of page when using cmd+c (copy) in ios ipad

Posted by: viethdhe130200 on 14 October 2024, 2:42 am EST

  • Posted 14 October 2024, 2:42 am EST - Updated 14 October 2024, 4:48 am EST

    When I change the editor type of the Price column in FlexGridColumn in the following link (FlexGrid Wijmo overview):

    FlexGrid Wijmo Overview Link: https://developer.mescius.com/wijmo/demos/Grid/Overview/react

    <FlexGridColumn 
      header="Price" 
      binding="price" 
      editor={new InputNumber(document.createElement('div'), {
        isRequired: false,
        min: 0,
      })} 
      isRequired={false} 
      width={100} 
    />


    When I copy the Price cell, the page scroll jumps to the top (as shown in the video). Additionally, when I move from the ID cell to the Date cell by key press right, or from the Country cell to the Date cell by key press left , the scroll also jumps to the header (as shown in the video). These two cases occur on iOS when using an iPad connected to a wireless keyboard. Is there any solution to this issue?

    I am urgently addressing this task for a client, and I hope to receive a prompt response from the Wijmo team.

    Thank you so much.

  • Posted 14 October 2024, 2:44 am EST

    This is the video I recorded.bug scroll wijmo.zip

  • Posted 16 October 2024, 1:05 am EST

    Hi,

    This seems like unexpected behavior for the FlexGrid control, so we have escalated it to our Dev team for further investigation with an internal tracking ID - WJM-35131. We will provide you with an update as soon as we have something to share.

    Meanwhile, as a workaround, you can override the _updateFocus method of the custom editor to handle this scenario. Here is an example sample for your reference.

    workaround_sample (1).zip

    Regards

  • Posted 22 October 2024, 11:49 pm EST

    Thank you for your response, but when I tested, I encountered an issue in one case where if I copy a value and paste it into multiple rows in a column, some cells do not update their values when the data is pasted. Have you experienced this case?

  • Posted 24 October 2024, 2:23 am EST

    Hi,

    We tested the behavior you described but we are unable to replicate the issue on our end. Could you please share some specific steps that we can follow to replicate the issue, if any? Please find attached a video recording, that shows how we tried to replicate the issue.

    We tested it in the sample we shared with you as a workaround in our previous comment, in both scenarios, with and without the workaround applied. We tested it in iPadOS Version 16.4.1(a)

    In case, if there is something we missed, please let us know.

    Regards

    Rec-iPad-flexgrid.zip

Need extra support?

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

Learn More

Forum Channels