Skip to content

[Bug]: Spotlight action fails to focus on image elements #342

@cosarah

Description

@cosarah

Bug Description

When using the spotlight teaching action with an image element as the target, the spotlight does not correctly focus on the image. Instead, it covers the entire slide with a gray overlay, failing to highlight the intended image element.

Steps to Reproduce

  1. Create a teaching action with spotlight effect
  2. Set the target to an image element on the slide
  3. Execute the teaching action
  4. Observe the spotlight behavior

Expected Behavior

The spotlight should create a focused highlight on the target image element, with the surrounding area dimmed/grayed out, drawing attention to the specific image.

Actual Behavior

The entire slide is covered with a gray overlay, and the image element is not properly highlighted or focused. The spotlight effect does not isolate the target image as intended.

Deployment Method

Local development (pnpm dev)

Browser

Chrome

Operating System

Windows

Relevant Logs / Screenshots

Image

Additional Context

This issue specifically affects image elements as spotlight targets. Other element types may work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions