Where
doc/interactivity/animation.md lines 117-124 (the Arbitrary Values section).
Problem
The doc shows:
WDiv(className: 'animate-[wiggle_1s_ease-in-out_infinite]')
and says "If the built-in animations don't quite fit, you can use arbitrary values to specify custom animation strings."
But AnimationParser (lib/src/parser/parsers/animation_parser.dart) only does a context.theme.animations.containsKey(className) map lookup. There is no regex or bracket-syntax handler for animate-[<spec>]. So this code sample silently no-ops.
Expected
Either:
- Remove the Arbitrary Values section (docs-only fix), and steer users to the Customizing Theme section right below it, which IS the correct extension path, OR
- Implement the bracket-syntax parsing (out of scope for this issue).
As reported the docs lie about a feature that does not exist.
Where
doc/interactivity/animation.mdlines 117-124 (the Arbitrary Values section).Problem
The doc shows:
and says "If the built-in animations don't quite fit, you can use arbitrary values to specify custom animation strings."
But
AnimationParser(lib/src/parser/parsers/animation_parser.dart) only does acontext.theme.animations.containsKey(className)map lookup. There is no regex or bracket-syntax handler foranimate-[<spec>]. So this code sample silently no-ops.Expected
Either:
As reported the docs lie about a feature that does not exist.