Skip to content

Problems with initial rendering and "rzSliderForceRender" - "bullets are aligned at left side" #116

Closed
@artgryn

Description

@artgryn

In some projects slider rendered wrong(bullets are aligned at left side) from the initial view join. Also well known bug with ng-show/ng-hide usage. This bug partly can be solved by using "timeout" and "rzSliderForceRender". But that is ugly solution:

  1. "timeout" is not good to use in general
  2. "rzSliderForceRender" use require "broadcast" to "$rootScope" that is also not really recommended for AngularJS.

Solution: introduce public interfaces ".redraw()", ".reset()".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions