Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL Support example: object doesn't support property or method 'remove' error #3637

Closed
SoundLogic opened this issue May 29, 2015 · 3 comments

Comments

@SoundLogic
Copy link

getting an error object doesn't support property or method 'remove' from line 10395 in ui-grid-unstable.js

the related method:

s.rtlScrollType = function rtlScrollType() {
    if (rtlScrollType.type) {
      return rtlScrollType.type;
    }

    var definer = angular.element('<div dir="rtl" style="font-size: 14px; width: 1px; height: 1px; position: absolute; top: -1000px; overflow: scroll">A</div>')[0],
        type = 'reverse';

    document.body.appendChild(definer);

    if (definer.scrollLeft > 0) {
      type = 'default';
    }
    else {
      definer.scrollLeft = 1;
      if (definer.scrollLeft === 0) {
        type = 'negative';
      }
    }

    definer.remove();
    rtlScrollType.type = type;

    return type;
  };

this happens once you start scrolling in the RTL Support example

@c0bra
Copy link
Contributor

c0bra commented Jun 2, 2015

@SoundLogic I'm not seeing this error. Are you getting it in a certain browser?

@SoundLogic
Copy link
Author

Yes IE 11, windows 8.1

Jordan Pollard

On Jun 2, 2015, at 11:00, Brian Hann notifications@github.com wrote:

@SoundLogic I'm not seeing this error. Are you getting it in a certain browser?


Reply to this email directly or view it on GitHub.

@c0bra c0bra closed this as completed in 15ee480 Jun 2, 2015
@c0bra
Copy link
Contributor

c0bra commented Jun 2, 2015

@SoundLogic Should be fixed with next build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants