Git Product home page Git Product logo

Comments (6)

montella1507 avatar montella1507 commented on May 16, 2024

Yes, we have the same problem in every application.. i hope it will be solved :-(

http://imgur.com/7DP8olq

from winstore-jscompat.

sebarslan avatar sebarslan commented on May 16, 2024

I think, today I've found for kendo grid a solution and it works.

Change the function

function insertAdjacentHTML(element, position, html) {
HTMLElement_insertAdjacentHTMLPropertyDescriptor.value.call(element, position, html);
}

to

function insertAdjacentHTML(element, position, html) {
if(html.indexOf("<tr") === 0 && element.indexOf("<tbody") !== 0 ) {
element = '<tbody role="rowgroup"></tbody>';
}
HTMLElement_insertAdjacentHTMLPropertyDescriptor.value.call(element, position, html);
}

from winstore-jscompat.

montella1507 avatar montella1507 commented on May 16, 2024

Great i will try.. but this is propably the solution only for one thing (Kendo grid) and we have to count with problems with other components too :-( So it would be nice to have common fix for these issues..

from winstore-jscompat.

sebarslan avatar sebarslan commented on May 16, 2024

Yes. you're right.

from winstore-jscompat.

montella1507 avatar montella1507 commented on May 16, 2024

Atleast,.. good work, it works for me.. how did u debug the compat-js code? I am using Visual Studio to package Apache cordova app and i think i am not able to debug "native" js code

from winstore-jscompat.

sebarslan avatar sebarslan commented on May 16, 2024

I also use cordova javasript app and debug mode works. But I do not know, if you can debug the native code.

from winstore-jscompat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.