Comments (4)
Note this is is the first bug in v2.5.
from neodigm55.
No need to update the documentation.
from neodigm55.
Revised steps to reproduce: Open any carousel component. Navigate to card 2 (any card but 1) then resize the browser. Init is firing and the cards are being resized correctly, but the current page needs to be centered.
from neodigm55.
This is fixed in v2.5.
if( elNC.id ){
elNC.n55State = {nIdx: ( elNC.n55State?.nIdx ) ? elNC.n55State.nIdx : 1, width: elNC.offsetWidth}
let elNCCntr = elNC.firstElementChild
elNC.n55State.aTabCntr = [ ... elNCCntr.querySelectorAll("section") ] // Tab Containers
elNCCntr.style.width = ( elNC.n55State.aTabCntr.length * elNC.n55State.width ) + "px" // First Section contr width * num children
elNCCntr.style.gridTemplateColumns = "repeat(" + elNC.n55State.aTabCntr.length + ", 1fr)"
neodigmCarousel.nav( {id: elNC.id , nav: elNC.n55State.nIdx } )
}
from neodigm55.
Related Issues (20)
- Neodigm Marquee breaks the Neodigm Carousel component layout HOT 1
- Neodigm Keylime | Event Emitter HOT 1
- Neodigm Toast Web Notifications HOT 1
- neodigm Agent | Element contract data attr conditionally load content (mu + css) and/or logic (js)
- neodigm Poptart - Open on right-click declaritive HOT 2
- Neodigm Utils | Pretty Time Function - Return Time in a human readable format HOT 2
- Neodigm ActIcon | Micro size HOT 1
- Neodigm Enchanted CTA | milli (xsmall), micro, and pico sizes HOT 2
- Neodigm Carousel | Resize Function HOT 1
- neodigmUtils capFirst HOT 2
- Neodigm Enchanted CTS | Ghost Theme Override HOT 1
- Neodigm Soda Pop, Toast, Enchanted CTA, Pop Tart, ActIcon, Wired4Sound, and KPI - Right Click and Scroll into View Events
- Neodigm SodaPop | Create a ModalWarn life cycle event HOT 1
- Neodigm Utils Shake | Accept an Element ref or a query string HOT 4
- Neodigm Tulip - The tooltip flutters when hovering over the source element and where the arrow overlaps. HOT 3
- Neodigm | Universal Click / Hover event emitter HOT 1
- Neodigm Carousel | The life cycle events should support named panels (pages). HOT 2
- Neodigm Content | Sample UX implementations HOT 2
- Neodigm Agent | Widget requests and metering HOT 5
- Neodigm Picnic | New Component AKA Simple Table HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neodigm55.