by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jody Brooks
    @jodymbrooks
    OK, will do. I'll put more detail in the issue. Thanks.
    Jody Brooks
    @jodymbrooks
    @dylans I created this issue... hope it's right github spot... and not much more detail right now after all. Will try to get a sample app. dojo/dojo#326
    Dylan Schiemann
    @dylans
    that's fine, thanks
    Kirill Stepanov
    @kvstepanov
    Hi all! I couldn't find any working example of routing in dojo2. And something weird with docs and repo. Does it work, does anybody knows?
    Or I should pick another chat for dojo2?
    Do Huu Nhan
    @nhandh2013
    Hi everyone
    Currently, I have a big problem with Dojo on EPI
    Do Huu Nhan
    @nhandh2013
    im using custom view dojo for epi. but have some problem with IE browser 11
    run solong
    Mark-81
    @Mark-81
    Hi! I opened this issue on github: https://github.com/dojo/dojo/issues/328#issuecomment-441903334, but I have not enough knowledge to fully understand the answer. My goal is very simple: keeping the whole application as close as possible to the current state, I just want to avoid the Dojo transitions (i.e. set the duration to 0) while keeping the events handlers (beforeTransitionOut, afterTransitionIn) because a lot of code relies on those events.
    Dylan Schiemann
    @dylans
    The question I had there was whether the transitions within your app are from Dojo's existing widget transitions, or something built for your app by a previous developer?
    but I think a possible solution would be to use aspect.before ( https://dojotoolkit.org/reference-guide/1.10/dojo/aspect.html ) on the various event handlers to set the duration to zero before they get called.
    matrixbot
    @matrixbot
    ehuelsmann Dylan Schiemann (Gitter): hi!
    ehuelsmann I'm seeing more issues being reported due to the deepcopy changes
    ehuelsmann Or am I misunderstanding the new reports
    ehuelsmann ?
    ehuelsmann I'm wondering if there is a good reason to revert completely and ask the original requestor to use their own private copy of deepcopy instead
    Dylan Schiemann
    @dylans
    no, the issue is with the very old dojo/xhr module
    it's the same issue that we fixed with the newer versions of dojo/request when combined with FormData
    the old deepcopy was fundamentally flawed... the challenge is that old Dojo doesn't have a solid collection of tests that just work together, so small changes can have unintended consequences.
    matrixbot
    @matrixbot
    ehuelsmann Ah. Ok. I thought the issue was 1.14. But now I understand its for older versions.
    Mark-81
    @Mark-81
    @dylans the transitions are built-in in Dojo, like slide or fade. If I understand correctly I have to call aspect.before(dojo, "dojox/mobile/View", function(method, args) and if (method == performTransition) I can set the duration to zero. But I cannot find this property (i.e. duration) in the documentation.
    Dylan Schiemann
    @dylans
    It wouldn't quite be aspect.before(dojo, "dojox/mobile/View", function(method, args) as you would need a local reference to the AMD module... args should likely contain the property. That said, it looks like what you want is to set the property of transition to none, https://github.com/dojo/dojox/blob/master/mobile/View.js#L270-L277
    There may be a way to set the transition property without needing to do aspect calls, but I'm not particularly familiar with the dojox/mobile codebase.
    Mark-81
    @Mark-81
    @dylans as I wrote in the github issue I've already tried with 'none'. It actually removes the transitions but also the events (afterTransitionIn, beforeTransitionOut) as well...
    Dylan Schiemann
    @dylans
    right, ok, sorry, I get pulled in about 100,000 directions... some form of aspect should help then.
    Mark-81
    @Mark-81
    @dylans no problem! I understand. Last things: 1. " you would need a local reference to the AMD module" - do you mean instead of "dojox/mobile/View" I have to pass registry.byId("myview"), hence aspect.before(dojo, registry.byId("myView"), function(method, args) { if (method == "performTransition" ) ... });? 2. as said before I cannot find in the documentation how to change the transition's duration.
    Dylan Schiemann
    @dylans
    @Mark-81 not tested, and it may have further consequences, but I think what you want is something like this:
    require(['dojo/aspect', 'dojox/mobile/View', 'dojo/domReady!'],
        function(aspect, View){
            aspect.before(View, '_doTransition',
                function(fromNode, toNode, transition, transitionDir){
                    return [fromNode, toNode, 'none', transitionDir];
                }
            );
        }
    );
    I think that will still preserve the afterTransitionIn and other handlers, but make the actual transition animation get skipped
    AbhinavJKJ
    @AbhinavJKJ
    Can any one tell me how to create custom widget using import { subclass, declared} from "esri/core/accessorSupport/decorators"; and import _WidgetBase = require("dijit/_WidgetBase");
    @subclass("compass.widgets.customLayerListViewModel")
    class CustomLayerListViewModel extends declared(_WidgetBase, Evented){} with ArcJIis 4.9 and dojo 1.11
    rajna1113
    @rajna1113
    I downloaded dojo 1.14 and it’s not working in laptop iOS 10x?
    does anyone know work around for this
    matrixbot
    @matrixbot
    ehuelsmann rajna1113 (Gitter): what does "not working" mean?
    ehuelsmann Any specific error?
    Mark-81
    @Mark-81
    @dylans thanks for your hint. Unfortunately it seems it does nothing... it executes the first function (aspect.before) but doesn't enter in the second (after _doTransition). Hence the transitions are still there.
    Mark-81
    @Mark-81

    Wait! It seems it works in this way:

                aspect.before(registry.byId('myView'), '_doTransition',
                    function(fromNode, toNode, transition, transitionDir){
                        return [fromNode, toNode, 'none', transitionDir];
                    }
                );

    I had to add this snippet for each View. Only for one it doesn't work, but perhaps there's something else - I'm trying to figure it out.

    juliandm
    @juliandm
    Dgrid hey there, we are currently trying to render an inputfield (ValidationTextBox) in the header of dgrid columns for quicksearch functionality. We are overriding renderHeaderCell(node) and attaching the ValidationTextBox as a child to "node". However we saw now that event bubbling doesn't seem to start from the inputfield but from the dgrid Column. That means that many important events like keypress, mousedown are not available on the field. Does anyone have an idea how to get around this?
    madalavenkat
    @madalavenkat
    Hello Team, "dojox.grid.TreeGrid" is support on 1.8 version.?
    srinivas
    @cenu528_twitter
    Hi Team, I am new to dojo. Need small help. Plz help me
    I have a button and when i clicked on it.. will open a popup window
    onClick: dojo.hitch(this,'_editJobButtonClicked')
    but same functionality i need in hyper link..when i click on hyper link same popup window i need
    plz help me guys...
    durga73
    @durga73
    Does dojo 1.15 supports ECMAScript 5 ? or it supports TypeScript ? Which standards does dojo supports ?
    Varun Verma
    @VarunVerma3

    Hi Guys,

    I'm using filter plugin in dojox.grid.EnhancedGrid but when i click the filter button i don't see a proper UI rather all the text and input area are overlapped.

    Can any body help me why i'm getting this problem.

    The css files I've included:

    @import "dojo/resources/dojo.css";
    @import "dojox/grid/enhanced/resources/claro/EnhancedGrid.css";
    @import "dojox/grid/enhanced/resources/EnhancedGrid_rtl.css";
    @import "dijit/themes/claro/claro.css";

    rkantos
    @rkantos
    Does someone have a recollection what changed with CheckBoxes between 1.8 & 1.9 on mobile? On 1.8 everything works as per normal.. On 1.9 on mobile, checkbox checked value return true until the checkbox has been clicked two times.. (value true, but checkbox visually unchecked) However if I use the mobile browser via Chrome developer tools and click it (with mouse), it works as expected; e.g. as it worked before on a desktop.
    on mobile = on a mobile browser
    rkantos
    @rkantos
    Apparrently it seems that dijit.ById needs to always be used with 1.9 onwards
    Ondrej Medek
    @xmedeko
    @durga73 For typescript Dojo1 use https://github.com/dojo/typings