Results 1 to 8 of 8

Thread: Touchscreen lap-tops breaking UI layout.

  1. #1
    Sencha User
    Join Date
    Feb 2017
    Posts
    4
    Vote Rating
    0
      0  

    Default Touchscreen lap-tops breaking UI layout.

    Hello,
    We are using Extjs 6.0.1 on a project I am currently working on and In a nested panel using the "fit" layout the inner contents are getting shoved down causing a scrollbar to become necessary, due to the machine loading the page having a touchscreen. This issue does not occur if a touchscreen isn't present. After determining that, we decided to attempt to override Ext.feature.detect() to prevent Extjs from detecting a touchscreen. However this failed in the override folder because the resident Extjs expert believes that the check is done earlier than overrides are applied. We then directly edited the feature.js file with the fix. However this is not getting picked up by Extjs when the project is built. Any ideas on how to fix this issue? Let me know if any other information is needed, I'm not used to posting on forums for assistance.
    Thanks.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    291
      0  

    Default

    Do you have a small test case which can be used to recreate this issue?
    https://fiddle.sencha.com/#view/editor

  3. #3
    Sencha User
    Join Date
    Feb 2017
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Not currently, I'll see if I can whip something up. Unfortunately it seems like somewhat of a finicky error.

  4. #4
    Sencha User
    Join Date
    Feb 2017
    Posts
    4
    Vote Rating
    0
      0  

    Default

    I havent been able to get it to reproduce in the fiddle. Like I said earlier this is a tricky error to reproduce.

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    291
      0  

    Default

    Does this occur with newer versions of Ext JS? Any chance you are over-nesting your panels?

  6. #6
    Sencha User
    Join Date
    Feb 2017
    Posts
    4
    Vote Rating
    0
      0  

    Default

    I do not believe that to be the issue. We have a fix in place that works, but its not getting picked up in the build process. The change is directly to the extjs feature.js file.

  7. #7
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    291
      0  

    Default

    Not sure why your build wouldn't be using your change, but I recommend against modifying framework files directly. It is preferable to override the class.

    Just to be sure, there's no browser or OS zoom engaged when using the touchscreen laptop, correct?

  8. #8
    Sencha User
    Join Date
    Oct 2013
    Posts
    1
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by diabuddha View Post
    I do not believe that to be the issue. We have a fix in place that works, but its not getting picked up in the build process. The change is directly to the extjs feature.js file.
    We are also having this issue. Would it be possible for you to share the fix you found? Thanks

Similar Threads

  1. Grid reconfigure breaking tab layout
    By mbates in forum Ext 6: Q&A
    Replies: 1
    Last Post: 4 Jan 2017, 6:02 PM
  2. [FIXED] Border layout resize issue (if touchscreen is present)
    By yuriy in forum Ext 5: Bugs
    Replies: 11
    Last Post: 14 Apr 2014, 11:57 PM
  3. [FIXED] 2.1 absolute layout x and y breaking
    By smarmysam in forum Sencha Architect 2.x: Bugs
    Replies: 1
    Last Post: 15 Aug 2012, 11:53 PM
  4. Replies: 6
    Last Post: 10 Feb 2011, 6:04 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •