Giter Club home page Giter Club logo

Comments (8)

longlostnick avatar longlostnick commented on July 25, 2024

Needed to re-open. Adding position fixed breaks the ability to nest inside of other divs with the 'ele' option. What I'm thinking I will do is make the position fixed, but use margin-top/margin-left to position the alert inside the 'ele' instead of the top/left/right/bottom properties. This will take a little more work than I expected.

Here's an example I found of what I'm talking about: http://stackoverflow.com/questions/4962266/css-positionfixed-inside-a-positioned-element

from bootstrap-growl.

redhead avatar redhead commented on July 25, 2024

And what about leaving current implementation as is but when the 'ele' option is set to 'body' the position will be 'fixed' position (instead of 'absolute')?
I don't know about internal things, but it could be a simple fix.

from bootstrap-growl.

longlostnick avatar longlostnick commented on July 25, 2024

That's a good idea! Would keep things simple. I think that's the route I will go, but gimme a day or so to get the fix in.

from bootstrap-growl.

redhead avatar redhead commented on July 25, 2024

Sure, no problem.

from bootstrap-growl.

needcaffeine avatar needcaffeine commented on July 25, 2024

Hi-- has the above mentioned fix already been implemented? Thank you for your work.

from bootstrap-growl.

longlostnick avatar longlostnick commented on July 25, 2024

@needcaffeine nope. I'm sorry I was busy around the holiday and completely forgot! Growls should be fixed if ele is "body", otherwise they will be absolute.

from bootstrap-growl.

needcaffeine avatar needcaffeine commented on July 25, 2024

@ifightcrime Thank you!

from bootstrap-growl.

vidhatesachin avatar vidhatesachin commented on July 25, 2024

Thankyou.. setting css position:fixed worked ryt

from bootstrap-growl.

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.