Search Type: Posts; User: orangechicken

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. I'm not directly calling doRemove. I'll try to find the simplest test case (but I won't likely be able to do so until next week -- currently on deadline for Monday)
  2. Interesting. I removed the id from my container and things started working. Originally, I was trying to debug why I was getting redundant content even after doing a removeAll()... Maybe something...
  3. In 0.94 & 0.95, when calling doRemove() on a component, the component's contents are removed from the DOM, but the component's element itself.

    The code for doRemove is:

    doRemove :...
  4. Ah! Found the problem: Our code was setting a flag for landscape mode and was looking at the window.innerWidth. Strangely, on the iPad this is 981 in landscape orientation instead of the expected...
  5. Hmm... looks like `display: -webkit-box;` may be part of the problem... if I don't provide a height in the CSS for this .x-scroller, the it gets height of 0. This does not happen on the desktop.
  6. Incidentally, the problem does not happen on Safari 4.0.4 on the desktop either. Just on the iPad...
  7. This is on the iPad (in the simulator). It does not break like this in Chrome or Safari on the desktop, BTW. (The iPad has Safari 4.0.4, I believe)
  8. Eh? I think you're misunderstanding me:

    If I call setHeight(100) in Javascript, then the Panel's height is set correctly. However, as of 0.94, we're no longer required to set the height...
  9. And unfortunately the dev tools on the iPad simulator are hugely lacking. I'm downloading Safari 4.0.5 (which is closer to the version on the iPad) but has anyone else ran into this issue on iOS 3.x?...
  10. But wasn't this the whole point of creating the cardslide animation that went into 0.94? It looks like the code is all there... it just has a couple bugs preventing it from working.

    See...
  11. Come on now. I know you are (the thread has 40 views...). Chime in with any extra info you've got!
  12. I've got a few animations - via show('slide'), for example - that are blinking out momentarily at the very end of the animation. This is with 0.94. Is anybody else seeing this and maybe have some...
  13. Calling hide(true) for example results in "true is not a valid animation type."

    The reason can be found in the first line of Component's onHide: It only assigns this.showAnimation to animation if...
  14. Keep in mind, I believe it's a bug that I have to manually set childrenChanged to false before calling doComponentLayout. My expectation is that when I hide the tabBar and call doComponentLayout that...
  15. Ok, I think that the new(ish?) method needsLayout() needs some rethinking (or extrapolating). The doComponentLayout() in my code above never runs the layout because hiding the tabBar doesn't mark...
  16. I have a tabpanel called "tabs" with contents that are data-driven, including the tabs themselves. In the case where there's only one tab I want to hide the entire tabBar and have the tab's contents...
  17. Changing the line from


    if (this.direction == 'right' || this.direction == 'down') {

    to


    if (!this.out && (this.direction == 'right' || this.direction == 'down')) {
  18. The problem is in the before method of the slide animation. The check for if this.direction == 'down' is true as is the check for if this.out == true: The toY is set to -elH.

    However, the *next*...
  19. Very straightforward: Have a panel that is hidden and has a showAnimation of {type:'slide', direction:'down'} and then add some code to show and hide it. Notice that, when hiding, the panel goes down...
  20. Replies
    5
    Views
    1,329
    Digging up this oldish thread to agree with the intention of the OP.

    It would be very useful to keep Model-related logic in the Model.
  21. That might be useful, yes, and I should give that a try. But it doesn't give the *why* behind the *what* quite like a changelog would.

    *Update:* The usefulness of a diff is questionable. DiffMerge...
  22. We got burned badly enough by the 0.94 release that we're cautious of upgrading anymore. (Yes, I understand it's beta software and will change). Having an actual changelog -- not just...
  23. Sure. Not exact copy and paste, but the concept is this:


    { cls: 'my-container', items: [{ xtype: 'component', html: '<h1>A header?</h1>', cls: 'header' }, { xtype: 'list', data: [...] }] }
    ...
  24. I think I might have found a possible reason. It seems that in setFlexedItems and onLayout on the box layout it looks if *direction* == 'horizontal'. But, for some reason, VBox sets *orientation* to...
  25. Confirmed here. Flex just doesn't seem to work in 0.94
Results 1 to 25 of 62
Page 1 of 3 1 2 3