Results 1 to 5 of 5

Thread: Text crosses div or screen boundaries

  1. #1

    Default Text crosses div or screen boundaries

    Hi there,

    I have implemented custom Facebook and twitter pages. I works great for almost all feeds and posts, but every now and then the text of one or two of the posts/feeds will run across the div/screen boundaries. It happens randomly for only a few posts.

    Anyone come across this yet?

    Kind Regards,
    Jac

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,254

    Default

    It's a little bit vague to answer. What do you mean by "custom" pages? What are you expecting when the posts are too long?
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3

    Default

    Evan,

    My apologies for the vague description.

    I use the Facebook and Twitter API's to retrieve posts/tweets from the respective servers. These posts/tweets are added to scrollable lists in my application. My list items are just regular divs [<div class="list_item">{Message_Text}</div>] which take the text of the posts/tweets. Everything works great 99% of the time. When I run the app on an iPad the text wraps to the iPad screen size, and when I run the app on an iPhone, the text wraps to the iPhone screen size.

    But every so often, a post does not wrap and just continues until it run's off-screen. Not in a single line (it still wraps to some degree), but it wraps too late to keep all text on screen. It just goes a little to far on each line. It is not that the posts are too long or bigger than expected. There is plenty room to contain these wayward blocks of text.

    Please let me know if it's still too vague.

    Note: This only happens on my iPod Touch (Gen 3) running Safari, and NOT on my Android emulator. May be a Safari bug rather than the Sencha Touch library's fault.

    Cheers,
    Jac

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450

    Default

    Are you doing anything with CSS to help with the overflow? You could check out the overflow property and text-overflow property if not. You can specify the overflow property to the x or y axis too.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  5. #5

    Default

    Check this thread out:
    http://www.sencha.com/forum/showthre...lates-in-0.96/

    The answer to your problem is on Page 2.

Similar Threads

  1. Replies: 0
    Last Post: 1 Jul 2009, 2:04 AM
  2. Ext Grid Ticks/Crosses
    By J.B in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 25 Apr 2008, 6:47 AM

Posting Permissions

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