1
0
mirror of synced 2024-11-23 05:26:10 +03:00
select2/docs
Kevin Brown 9906b2f434 Fixed dropdown for responsive widths
When we re-implemented support for responsive widths, through the
use of percentages, we never moved the support over to the dropdowns.
So the dropdowns generally were not large enough, and when resized
they never re-adjusted, and they didn't fully work as intended.

This fixes the issue by automatically resizing the dropdown whenever
it is repositioned, mainly to handle new scrollbars, which will
ensure that it is always the same width as the container.

This also adds a section to the examples for responsive design,
just like in the old documentation.

This closes https://github.com/select2/select2/issues/2949.
2015-01-27 14:07:44 -05:00
..
_includes Changed how the builds are done 2015-01-22 14:49:39 -05:00
_layouts Added Google Analytics 2015-01-05 19:30:15 -05:00
dist Started building the docs site 2014-10-21 21:43:58 -04:00
vendor Changed how the builds are done 2015-01-22 14:49:39 -05:00
.gitignore Started building the docs site 2014-10-21 21:43:58 -04:00
announcements-4.0.html Pull query and initSelection out to compat modules 2015-01-17 20:47:52 -05:00
community.html Called out 3.5.2 dodcs 2015-01-05 18:22:27 -05:00
examples.html Fixed dropdown for responsive widths 2015-01-27 14:07:44 -05:00
index.html Add information about build types 2015-01-22 17:01:50 -05:00
options.html Fixed the selectOnClose option 2015-01-22 15:19:45 -05:00
README.md Automatically set up docs symlink 2015-01-12 19:56:25 -05:00

Select2 Documentation

This repository holds the latest documentation for Select2.

What is this?

The documentation is automatically extracted from the docs directory at the Select2 source repository. This is done periodically by the maintainers of Select2.

Pull requests will usually be ignored, documentation fixes should be made in the source repository. We may accept pull requests if they match the source docs directory, but for the most part pull requests will be closed on sight.

How can I build these docs manually?

In the main Select2 repository, you can build the documentation by executing

grunt docs

Which will start up the documentation on port 4000. You will need Jekyll installed to build the documentation.