Comments (9)
I don't really know what's going on. Were you able to solve this?
from angular-wizard.
No, I switched from a wizard type deal to just a simple form using angular-formly thanks!
from angular-wizard.
@mgonto I solved this by changing
.steps-indicator li a:before {
left: calc(43%);
}
to
.steps-indicator li a:before {
left: calc(46%);
}
But I only tested it in Chrome, so I don't know about other browsers.
from angular-wizard.
&:before {
left: ~'calc(50% - 7px)';
}
is being converted to
&:before {
left: calc(43%);
}
There's nothing wrong with the code; it's happening due to a bug in recess that causes the LESS compilation to aggressively (and incorrectly) perform the calculation on this line.
You might want to switch the build over to grunt-contrib-less. In the interim, the easiest workaround is to just override that property in your own CSS:
.steps-indicator li a:before {
left: calc(50% - 7px);
}
from angular-wizard.
@jacobscarter can you check this one if you have time? @kentcdodds is using it with Angular Formly, and it'd be lovely to fix it.
Otherwise, I'll check it out next week :).
Thanks everyone for all the help in finding the issue!
from angular-wizard.
Here's the working example: http://angular-formly.com/#/example/other/angular-wizard
from angular-wizard.
So the fix is changing from recess
to grunt-contrib-less
.
Sounds good
from angular-wizard.
@mgonto about to push the fix and update the package
from angular-wizard.
Great work @jacobscarter :). Thanks!
@kentcdodds can you update the sample for Angular-formly?
Cheers!
from angular-wizard.
Related Issues (20)
- wizard().goTo() not behaving as expected HOT 3
- setEditMode is not a function HOT 2
- error HOT 1
- ReferenceError on "canexit="exitValidation"" [Fix included] HOT 3
- Angular 4 support? HOT 2
- Can't reference a controller's function from template HOT 2
- Issue when add the canenter feature. HOT 3
- wz-data and canenter are being called multiple times
- removing a step fails if it index 0
- Why from data from first step is lost when a user tries to visit another step?
- on removing wz-step anomaly
- Wizard Handler goTo issue HOT 1
- Can i use this in angular 2 ? HOT 2
- How to make the navigation bar Non clickable? HOT 1
- Disabling steps dynamically
- How to disable navigation in the toolbar HOT 3
- JS Error: _ is not defined
- RTL problem
- back to current step if back to other completed steps
- Input values not sending to PHP
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 angular-wizard.