Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

programaticaly adding content to ui-codemirror makes scrollbars buggy #139

Open
srinivasyl opened this issue Jun 5, 2017 · 0 comments
Open

Comments

@srinivasyl
Copy link

I'm showing child process stdout and std error via socket on code mirror its working well but scroll bar resides on top it fails to update scroll bar according to the content

<div ng-model="log"
         ui-refresh="vm.refreshCodemirror"
         ui-codemirror="{lineNumbers: true, autoFocus:true, theme:'twilight',readOnly: 'true',lineWrapping : true,mode: 'Javascript'}">
    </div>
 var controller = this;

        $scope.refreshStream = function ()
        {
            controller.refreshCodemirror++;
        };
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant