Giter Site home page Giter Site logo

Comments (6)

xvaara avatar xvaara commented on June 11, 2024

Should we just use floating-ui ones?

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 11, 2024

What are the differences between the two types?

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 11, 2024

I also need to catalogue what possibly shares "location" values. Location on a drop down popover is different than bcardimg being "end"

from bootstrap-vue-next.

xvaara avatar xvaara commented on June 11, 2024

https://floating-ui.com/docs/computePosition#placement

from bootstrap-vue-next.

xvaara avatar xvaara commented on June 11, 2024

I kinda would like it to be booleans... Not sure about this but:

// bottom by default. props boolean for left, right and top, and start end.
<BTooltip top end> ... </BTooltip>
<BDropdown left start> ... </BDropdown>
<BPopover start> ... </BPopover>

from bootstrap-vue-next.

VividLemon avatar VividLemon commented on June 11, 2024

I prefer the simple location prop, as I feel like it's a lot of bloat. Having multiple location items makes the template look weird, and in our code you have to do like 4 or 5 useBooleanish statements. In addition, it also makes it easier to see that these props, top, start, end, etc are all related. I think it would just add a lot more simplicity if they were merged and standard throughout the components.

But speaking of Booleanish, after making the changes to useBooleanish and making it a simple !!, it made me think that allowing strings is kinda silly. We may consider using only booleans instead.

from bootstrap-vue-next.

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.