Search:

Type: Posts; User: fischer1121

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. There are 2 sources of truth - you're...

    There are 2 sources of truth - you're contradicting the JS engine:


    onButtonTap: function(button){
    var form = button.up('formpanel');

    form.mask();

    form.getRecord().save(function(){
    ...
  2. Why not let the engine make the determination of...

    Why not let the engine make the determination of when it's no longer in use since it's the thing that really destroys it? Why not say: the point of destruction is to indicate to the GC that the...
  3. This issue really does make ExtJS/Touch apps very...

    This issue really does make ExtJS/Touch apps very fragile. A missing 2 line check in the framework is certainly a bug when it means 10,000 devs now need to walk on egg shells when using unmask - lest...
  4. Hey I don't deny the challenge, but the...

    Hey I don't deny the challenge, but the alternative is that every async call also needs to include a check for whether the component is destroyed or not. This leads to devs writing functions that...
  5. Please make the framework asynchronous safe

    The modern framework is written in a way that is unsafe for asynchronous code that manipulates the dom. This is a big source of bugs when apps are used in practice.

    Many of the underlying methods...
  6. Ok, was looking at Touch's History...

    Ok, was looking at Touch's History implementation, ExtJS 6's simpler / better implementation is unaffected.

    So for packaged, Sencha Touch apps:

    https://fiddle.sencha.com/#fiddle/v08...
  7. In other words, I spoke too early, sorry about...

    In other words, I spoke too early, sorry about that. It only affects devs who have to use window.location.hash in their route handlers. If you still consider this a bug and need a test case let me...
  8. So this may be a bug or it may be an enhancement,...

    So this may be a bug or it may be an enhancement, depending on your view. If you think it's a bug I'll put together a test case.

    Before iOS9:
    Dev's callback fn for a route has access to...
  9. I reposted it in the ExtJS 6 forum and Don added...

    I reposted it in the ExtJS 6 forum and Don added it to the bug tracker. Too far reaching to be ignored.
  10. iOS 9 breaks Sencha apps with history support

    iOS9 now asynchronously updates window.location.href, which causes any ExtJS or Touch apps with history support to break.


    Here's a link to the issue:
    https://openradar.appspot.com/22186109

    ...
  11. iOS 9 breaks apps dependent on this.redirectTo

    iOS9 now asynchronously updates window.location.href, which causes any Touch or Ext JS apps with history support to break.

    Here's a link to the issue:
    https://openradar.appspot.com/22186109

    It...
  12. Replies
    2
    Views
    1,768

    [FIXED] Fix for latest Chrome

    Here's a fix for Sencha Touch on latest Chrome.

    I had looked into one of the other fixes posted, but it seems to be checking the wrong variable (safari version), which will cause it to break in a...
  13. I reported this almost a year ago. Someone may...

    I reported this almost a year ago. Someone may have reported it earlier - who knows. Little hope of getting a fix apparently. As noted, this affects all data shown in all views, since they make use...
  14. The cache I'm referring to is...

    The cache I'm referring to is Ext.data.Model.cache. If you type that in the console, you'll see that Touch maintains a reference to every record you create - independent of stores. It uses this when...
  15. Replies
    4
    Views
    942

    You can refresh a form with: ...

    You can refresh a form with:


    formInstance.setRecord(modelInstance);
  16. Replies
    9
    Views
    1,409

    Not sure what you're talking about.

    Not sure what you're talking about.
  17. Replies
    2
    Views
    677

    Rather than have to reset Ext.Msg (a singleton)...

    Rather than have to reset Ext.Msg (a singleton) throughout your code, I would create a new instance when you need it to scroll:


    Ext.create('Ext.MessageBox', { height: 200, scrollable: true...
  18. Replies
    2
    Views
    761

    Something like: ...

    Something like:



    Ext.define('MyApp.view.MyTabPanel', {
    extend: 'Ext.tab.Panel',

    initialize: function(){
    this.callParent(arguments);
  19. Replies
    4
    Views
    942

    Are you trying to refresh the "form" or the...

    Are you trying to refresh the "form" or the "stores"? You're saying both in this question. If you want to refresh a store:


    Ext.getStore('UnqualifiedNameOfYourStore').load();
  20. Another option is to simply do: ...

    Another option is to simply do:


    Ext.create('Fiddle.model.User', jsonFromServer);


    The advantage is you can update any record within your app without needing to maintain a reference to it....
  21. JavaScript is very flexible, and that naturally...

    JavaScript is very flexible, and that naturally extends to Sencha Touch, but there are conventions that have developed over time. I'd suggest you read through some of the guides to get a sense of...
  22. Yes, that'd be the case if you're scrolled to the...

    Yes, that'd be the case if you're scrolled to the top or bottom. You could add to the previous post...

    (1) animate the scroll of the container in your handler:



    var scroller =...
  23. (1) Overflow: visible the container, and convert...

    (1) Overflow: visible the container, and convert your titlebar and toolbar to gpu textures, with animated classes:


    .mycontainer > .x-scroll-view{
    overflow: visible;
    }

    .mytitlebar,...
  24. Replies
    2
    Views
    934

    You can add it in the list config: ...

    You can add it in the list config:



    Ext.define('MyList', {
    extend: 'Ext.List',

    config: {
    itemCls: 'LPNListItem'
    }
  25. Can you post the callstack? That will help...

    Can you post the callstack? That will help debug...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4