Compatibility
If you encounter any compatibility issue, please signal it on repo.
Ruby on Rails
Coupdoeil is made for Ruby on Rails.
Forms
Form helper should work and correctly include CSRF token.
ViewComponent and Rendering API
Coupdoeil popovers can render ViewComponents or any object that implements ActionView rendering API.
class ContactPopover < Coupdoeil::Popover
def details
@contact = params[:contact]
render ContactDetailsComponent.new(contact: @contact)
end
end
Template languages
Coupdoeil should work with any templating language (ERB, Slim, Haml …).
Turbo
Coupdoeil detects if Turbo is used and ensure opened popover won’t be seen when Turbo renders cached pages.
Mobile & touch devices
Coupdoeil popovers are not intended to work on mobile or touch devices. No testing has been done so far and there is no built-in way (yet) to disable it on such devices.