To address clickjacking vulnerabilities flagged on non-visible, off-screen, or non-interactive UI elements in Salesforce:
**Why Elements Are Still Flagged:**
Your component might be flagged for Clickjacking even if the element is positioned off-screen because using CSS properties like `position: absolute` or `position: fixed` can still pose a security risk. These properties can allow malicious components to overlay or interfere with other components, potentially leading to unintended interactions or obfuscation of the user interface.
**Primary Resolution Steps:**
1. **Set `isExposed` to `false`**: In the component's meta-xml file, ensure the `isExposed` attribute is set to `false` to prevent access outside its namespace.
2. **Avoid `absolute` Positioning**: Do not use `absolute` positioning for child elements, as it can allow malicious components to overlay the real component.
3. **Use `relative` Positioning**: Apply `relative` positioning to parent elements to mitigate risks.
**Additional Considerations:**
- If the component's `isExposed` attribute is set to `true`, it becomes accessible outside of its namespace, increasing the risk of exploitation
- Off-screen positioning doesn't eliminate the security risk if the positioning method itself is problematic
- The vulnerability exists because the positioning properties can still be exploited regardless of current visibility
**When to Seek Help:**
If you need further clarification or help, consider raising a support case for additional guidance. The positioning vulnerability exists independent of current element visibility, so proper mitigation is essential.