GithubHelp home page GithubHelp logo

Comments (8)

johndatserakis avatar johndatserakis commented on June 9, 2024 1

Sure, I think that'd be a great addition. I think we could add a type property, and display a divider when the value divider is passed.

I'll try to get to this in the next week or so. Thank you.

from vue-simple-context-menu.

mikeerickson avatar mikeerickson commented on June 9, 2024

Great, let me know if you need any assistance.

from vue-simple-context-menu.

johndatserakis avatar johndatserakis commented on June 9, 2024

Ok great - this is now out in v3.3.0 from this pr: #28.

from vue-simple-context-menu.

mikeerickson avatar mikeerickson commented on June 9, 2024

@johndatserakis Hey there, I see this was added, just got around to implementing and have a display issue I wanted you to review.

image

I am curious if there is something else I need (updated css?)

from vue-simple-context-menu.

johndatserakis avatar johndatserakis commented on June 9, 2024

Hey Mike,

Strange - yea the new css should just come when you upgraded your library.

The live demo site is showing the divider without issue:

Screen Shot 2020-10-21 at 9 49 40 PM

Hmm, I wonder what the issue could be. I just checked on Chrome, Safari, and Firefox all on a Mac and it was fine. What browser and computer are you looking on?

There is a little bit of a "dance" that I had to do to get the padding and height of the divider to play nice - but I'm not seeing any negative effects of that.

Are you adding any custom css that's overwriting the .vue-simple-context-menu__divider CSS by any chance? That could do it - like if you're overwriting the padding in total.

If you can provide a codepen or something demonstrating this I'd be more than happy to take a look and fix it.

Sorry for the issue.

from vue-simple-context-menu.

mikeerickson avatar mikeerickson commented on June 9, 2024

Hey John

I tried to make a codepen, but I always receive an error about the missing required parameter elementId (which I am definitely supplying).

Here is a codepen that I started Codedungeon vue-context-menu codepen

I have also created a quick Vue app (using vue cli) which can be found here:

vue-simple-context-menu-test

The repo shows the problem

image

from vue-simple-context-menu.

johndatserakis avatar johndatserakis commented on June 9, 2024

Thank you @mikeerickson for the example - that was perfect and helped me find the problem right away. There was an issue with the box-sizing setting on the divider. I fixed it here: #33. I am putting out a new version now at v3.3.2.

Thank you for your help on this! Sorry about the issue.

from vue-simple-context-menu.

mikeerickson avatar mikeerickson commented on June 9, 2024

Awesome, glad it helped and you were able to cure. I will be deploying on Monday 👍

from vue-simple-context-menu.

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.