Git Product home page Git Product logo

Comments (5)

amorey avatar amorey commented on September 6, 2024

@Lukasss93 Thanks for the bug report! I can take a look at this tonight.

from mui.

amorey avatar amorey commented on September 6, 2024

@Lukasss93 I wasn't able to reproduce the error looking at the documentation site (https://www.muicss.com) on Edge/Win10. Are you seeing the error on the documentation site or with your own code?

I can see where the error would be triggered but I need to see an example to determine why a null value is being passed into the function instead of an HTML Element:
https://github.com/muicss/mui/blob/master/src/js/lib/jqLite.js#L117

from mui.

Lukasss93 avatar Lukasss93 commented on September 6, 2024

Sorry, I forgot it!

Now this are the steps to replicate the problem:

  1. Open Microsoft Edge on Windows 10 PC
  2. Visit my web site on https://api.auraxstudios.com/
  3. Open Developer Tool F12
  4. Click on Emulation Tab
  5. Select on:
    Browser Profile: Windows 10 Mobile;
    User Agent String: Microsoft Edge - Windows 10 Mobile;
    Orientation: Landscape;
    Resolution: 1920x1080;
  6. Reload the page
  7. Click on Console Tab, ignore XHR bootstrap error, now click on a item menu.
  8. In console will be shown this error:
    SCRIPT5007: Unable to get property '_muiEventCache' of undefined or null reference
    mui.min.js (1,7975)

This bug is shown ONLY on this Browser WITH that parameters.
I have replicated it on PC (see top ^) and on my Nokia Lumia 1520 with Windows 10 Mobile Insider Preview 10.0.10586.63 Version 1511.

PS. On my Nokia Lumia 1520 works fine with Portrait and fail with this bug with Landscape... :( WTF

Screen:
1452622936902

Thank you for your support.

from mui.

amorey avatar amorey commented on September 6, 2024

@Lukasss93 Thanks for your excellent bug report! I was able to use the Edge debugger to step through the code and identify the problem. It turns out that it was a bug in MUI triggered when mui.overlay('off') was called before mui.overlay('on'). The switch to Windows Mobile triggered the part of your code that called mui.overlay('off'). In any case, the bug is fixed in v.0.2.10:
https://www.muicss.com

Let me know if you're still seeing the error. BTW your site looks great!

from mui.

Lukasss93 avatar Lukasss93 commented on September 6, 2024

Very thank you for your support! Now it works fine.

from mui.

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.