Skip to content

changing magnifiedWidth/Height causes image in lens to move out of view #48

@candlefish

Description

@candlefish

I have a function that allows the user to adjust the zoom using the mouse wheel - it updates the magnifiedWidth and magnifiedHeight properties. The magnify-lens bg-size property updates on the fly, but the background position does not, so the image in the lens moves diagonally out of view when increasing the zoom. Simply moving the lens a tiny bit causes the background position to update correctly, but it would be nice if it would update while the bg-size is being changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions