Skip to contents

shinyMobile 1.0.1

CRAN release: 2024-03-01


  • Added webR to pkgdown infrastructure which allows to run shinylive apps in the documentation.

Minor change

Bug fixes

  • Fix ignored height in f7Card() (Typo).
  • Fix CRAN note.

shinyMobile 1.0.0

CRAN release: 2022-11-25


  • Added skeletonsOnLoad to f7Page() options (not compatible) with preloader.

Breaking change

  • preloader is moved to f7Page() options list.
  • Removed loading_duration from f7Page(). Now the preloader will automatically disappear when shiny is idle like in bs4Dash.
  • panels becomes panel in f7SplitLayout() for consistency reasons.
  • f7Tab() uses validate_tabName so that Tab 1 is not valid anymore but Tab1 yes. Tabs will have to be manually renamed.
  • f7Popup() is now generated on the server side like f7Notif(). Remove updateF7Popup(), f7TogglePopup().
  • Reworked f7listIndex(): remove f7ListIndexItem(). f7ListIndex() is generated from the server side.
  • Reworked f7Skeleton(): triggered from server side. See examples.

Bug fixes and improvements

  • Improve f7Swiper(): better CSS, pagination, navigation, scrollbar, …
  • Fix issue in f7PhotoBrowser() example: wrong default theme …
  • f7CheckBox(): better layout.
  • Fix issue in f7FabMorphTarget() example.
  • Fix #226: f7PhotoBrowser() just works with two or more pictures. Fix issue in JSON conversion.
  • Fix issue in updateF7Popup() documentation (showed as deprecated by mistake).
  • New skeleton effect on load (automatic): applied grey background on elements loading. Ends when shiny is idle.
  • New skeleton effect on output recalculation.
  • Fix issue in f7Navbar(): hard-coded css style causing white text on white background.
  • Fix #151: Issue in navbar/toolbar scroll. See here.
  • Fix #165: Setting separate theme for panels does not work.
  • Fix #181: Adding dynamic tab to an empty panel.
  • Related to #220. A new title parameter is available for f7Tab() so as to pass any name, as oposed to tabName.
  • Fix #228: Vignette Example doesn’t show graphs. Breaking change in shiny 1.7.2.
  • Issue in f7SmartSelect() with openIn param (failed when not provided).
  • Fix #219: Avoid using inline CSS so that users can easily override {shinyMobile} defaults.
  • Fix #220: f7Tab() can create duplicate IDs which in turn break the page. Now we use validate_tabName internally to check whether the tab is valid (avoid JS issues with jQuery selectors)…
  • Fix #224: updateF7AutoComplete() accepts choices.
  • Fixes #217: f7SmartSelect() interfering NS for server-side module.
  • Fixes #215: Icon not displayed in reconnect / reload toaster. Add f7Icon deps anyway.
  • Fixes #204: issue with f7DatePicker() and DST.
  • Update CI/CD setup.
  • Fix issue where f7Page() does not accept anymore color by its name. Now, and like in earlier versions, f7Page() accepts either hex code or color name.
  • Fixes #222: f7Slider() code updated to work with the fix for #215 above.

shinyMobile 0.9.1

CRAN release: 2021-09-16

This release only fixes an issue with Shiny 1.7.0 with a failing unit test. Thanks @schloerke

shinyMobile 0.9.0

CRAN release: 2021-07-22

This release also fixes an issue with R CMD check and htmltools.

Breaking change

Major change

Minor change

  • More security for embedded apps.
  • Added shinyMobile hands on slides in Getting Started vignette.
  • f7Dialog() has a fixed height of 300px and vertical overflow to avoid issues.
  • Add ... to f7SmartSelect().
  • Add options to f7SearchBar() to provide more configuration. Fixes #47: thanks @rodrigoheck.
  • Add valueText param for f7Gauge(). Fixes #84: thanks @tanho63.
  • Reworked f7Gauge() JS code (no user impact).
  • Rework widget JS code base (no user impact).

Bug fixes

shinyMobile 0.8.0

CRAN release: 2021-01-11

This release is to addresses the following reverse dependency issue with shiny. Moreover, it also starts the road to v1.0.0 (later this year).

Soft Deprecations

Breaking changes







  • f7Link(): external has been removed from (much simpler), src becomes href
  • f7Button(): src becomes href


Major changes

Minor changes

Bug fixes

shinyMobile 0.7.0

CRAN release: 2020-06-17


  • disable backdrop in f7Searchbar() since it messes up with tabbar navigation. This does not have any impact on user experience. In a future release of shinyMobile, f7Searchbar() will have input binding associated as well as more parameters for configuration

Breaking changes

  • f7SmartSelect(): type param becomes openIn to align with other inputs
  • rework f7Messages(): messages are updated on the server side with f7AddMessages(). New f7MessageBar() to send messages from the server side.
  • f7ActionSheet(): to access the currently selected button, use input$[sheet_id]_button. This is to make action sheets compatible with shiny modules. Moreover, the buttons provided must be included in a list (not in a dataframe)
  • f7Sheet() is still inserted in the UI side but can be triggered either on the server side in combination with updateF7Sheet() (see example) or on the UI side. Overall, this improves flexibility since user may choose any trigger element. In practice, any element having data-sheet pointing to the sheet id as well as the “sheet-open” css class may open it, instead of having a default trigger contained in the sheet. A use case may be to open a sheet in the tabbar (the trigger would be a f7TabLink() that is a special button styled for the tabbar)
  • All update method for inputs : argument session is now optional and has been moved to the last position in function call
  • f7AutoComplete(): type becomes openIn to align with the framework7 documentation
  • remove parameter fill from f7Icon() (not used)
  • Rewrite f7Popup(). It has now an input associated giving the popup state (opened or closed) as well as new parameters: backdrop, closeByBackdropClick, closeOnEscape, animate and swipeToClose. label parameters has been removed. To create an f7Popup() put the f7Popup() tag in you UI. On the server side call f7TogglePopup(). See documentation for a detailed example. Thanks @pasahe
  • f7NavbarHide() renamed to f7HideNavbar() for consistancy
  • f7NavbarShow() renamed to f7ShowNavbar() for consistancy
  • In f7Gauge() valueText was removed. It does not make sense that the value can be accidentally different from the text displayed. valueText is then an internal parameter.
  • In f7DatePicker(): min becomes minDate, max becomes maxDate and format becomes dateFormat
  • remove maximizable parameter from f7Appbar()

Major changes

  • new input$shinyInfo and input$lastInputChanged (see shinyMobile tools vignette for more details)
  • f7SmartSelect() has input binding as well as an update function updateF7SmartSelect()
  • new f7VirtualList(), f7VirtualListItem(), updateF7VirtualList(): high performance list with caching system -> faster rendering (up to 10x faster than f7List()). Ability to add item(s), remove item(s), move item, filter items, …
  • new messagebar parameter to f7TabLayout(). This allows to use the f7Messagebar() in a tabs layout configuration.
  • new f7ValidateInput() function to validate input from the server side (similar to shinyFeedback but internal to shinyMobile and without dependencies)
  • new f7Login() and updateF7Login() feature to provide UI boilerplates for authentication
  • f7Tabs() may be used as standalone components with the style argument (segmented or strong). toolbar has the default behavior.
  • update f7Icon() and icons dependencies. thanks @pvictor
  • new updateF7DatePicker(): thanks @pvictor
  • add input binding to f7Fabs() to get the status of the container
  • add updateF7Button() and updateF7Fabs()
  • new pullToRefresh parameter to f7Init(). Pull the screen from top to bottom fires input$ptr which becomes TRUE. When the pull to refresh event is finished, input$ptr is NULL. Useful to trigger events in an observeEvent
  • add new updateF7Select(): thanks @Seyphaton for the suggestion
  • add f7TogglePopup() to close/open a f7Popup(). Thanks @pasahe
  • add preview_mobile(): function that previews your app in a seleted range of devices (iphone, samsung, htc, …)
  • redesign the way inputs options are passed from R to Javascript. This does not have impact on the user side but improves security and code quality

Minor changes

Bug fix

shinyMobile 0.1.0

CRAN release: 2019-11-30

  • Added a file to track changes to the package.