hyperoslo / Lightbox

:milky_way: A convenient and easy to use image viewer for your iOS app
https://www.hyper.no
Other
1.63k stars 329 forks source link

LightBoxImage isn't supporting attributed text. #298

Open anil291987 opened 4 months ago

anil291987 commented 4 months ago

Description: Issue: Currently, the LightBoxImage component fails to support attributed text, rendering it unable to display text with attributes such as different font sizes, styles, or colors within the lightbox.

Expected Behavior: The LightBoxImage component should be capable of displaying attributed text, allowing users to present rich text content within the lightbox interface.

Steps to Reproduce:

Attempt to display attributed text using the LightBoxImage component. Observe that the attributed text is not rendered correctly within the lightbox. Compare with standard text display to confirm the lack of support for attributed text.

Potential Solutions:

Implement support for attributed text rendering within the LightBoxImage component. Enhance documentation to clarify the limitations regarding text rendering in the lightbox.

Additional Context: This limitation restricts the versatility of the LightBoxImage component, hindering users from presenting diverse content types effectively within their applications. Addressing this issue would significantly improve the component's usability and value to developers.